mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-19 00:20:09 +00:00
68d73dcce5
Make sure the radii are strictly positive. Also handle the case where start >= end. We can't really underline that error, because we don't track the locations of the start/end properties until we know that there's an error. So just underline the whole radial gradient declaration. Test included
18 lines
159 B
Plaintext
18 lines
159 B
Plaintext
radial-gradient {
|
|
start: 1;
|
|
end: 0;
|
|
}
|
|
|
|
radial-gradient {
|
|
start: 0.5;
|
|
end: 0.5;
|
|
}
|
|
|
|
radial-gradient {
|
|
hradius: 0;
|
|
}
|
|
|
|
radial-gradient {
|
|
vradius: 0;
|
|
}
|