mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 20:51:07 +00:00
49f8b571b9
Make the test use an actual integer property that accepts negative numbers (opacity) instead of one that wants units (margin-top) or can't deal with negative numbers (everything else).
43 lines
326 B
CSS
43 lines
326 B
CSS
a {
|
|
opacity: 0;
|
|
}
|
|
b {
|
|
opacity: 1;
|
|
}
|
|
c {
|
|
opacity: -1;
|
|
}
|
|
d {
|
|
opacity: 2147483647;
|
|
}
|
|
e {
|
|
opacity: -2147483648;
|
|
}
|
|
f {
|
|
opacity: 1.0;
|
|
}
|
|
g {
|
|
opacity: 3px;
|
|
}
|
|
h {
|
|
opacity: 0xFF;
|
|
}
|
|
i {
|
|
opacity: 0377;
|
|
}
|
|
j {
|
|
opacity: nonumber;
|
|
}
|
|
k {
|
|
opacity: "42";
|
|
}
|
|
l {
|
|
opacity: +3;
|
|
}
|
|
m {
|
|
opacity: --5;
|
|
}
|
|
n {
|
|
opacity: - 10;
|
|
}
|