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
5 lines
220 B
Plaintext
5 lines
220 B
Plaintext
<data>:1:1-4:2: error: GTK_CSS_PARSER_ERROR_UNKNOWN_VALUE
|
|
<data>:6:1-9:2: error: GTK_CSS_PARSER_ERROR_UNKNOWN_VALUE
|
|
<data>:12:12-13: error: GTK_CSS_PARSER_ERROR_SYNTAX
|
|
<data>:16:12-13: error: GTK_CSS_PARSER_ERROR_SYNTAX
|