gtk/testsuite/gsk/nodeparser/radial-gradient-start-end.errors
Benjamin Otte 68d73dcce5 nodeparser: Handle disallowed values for radial gradients
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
2024-08-11 19:07:40 +02:00

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