mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 14:10:30 +00:00
0f42d37f8b
The parser got its chars mixed up while parsing numbers like 2.3e-04. While it is unlikely to meet such numbers in human-generated css, we do have them e.g. when saving render node trees with transforms. Also add some css parser tests for number parsing.
32 lines
195 B
CSS
32 lines
195 B
CSS
a {
|
|
-gtk-dpi: 0;
|
|
}
|
|
|
|
b {
|
|
-gtk-dpi: 100;
|
|
}
|
|
|
|
c {
|
|
-gtk-dpi: -39;
|
|
}
|
|
|
|
d {
|
|
-gtk-dpi: 0.5;
|
|
}
|
|
|
|
e {
|
|
-gtk-dpi: 260;
|
|
}
|
|
|
|
f {
|
|
-gtk-dpi: 2.6e+20;
|
|
}
|
|
|
|
g {
|
|
-gtk-dpi: 0.5;
|
|
}
|
|
|
|
h {
|
|
-gtk-dpi: 2e-19;
|
|
}
|