mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
tests: Add another parsing test from the css spec
This commit is contained in:
parent
3f07482b10
commit
42fb004dfc
@ -37,6 +37,9 @@ EXTRA_DIST += \
|
||||
css-21-malformed-declarations.css \
|
||||
css-21-malformed-declarations.errors \
|
||||
css-21-malformed-declarations.ref.css \
|
||||
css-21-malformed-statements.css \
|
||||
css-21-malformed-statements.errors \
|
||||
css-21-malformed-statements.ref.css \
|
||||
declarations.css \
|
||||
declarations.errors \
|
||||
declarations.ref.css \
|
||||
|
4
tests/css/parser/css-21-malformed-statements.css
Normal file
4
tests/css/parser/css-21-malformed-statements.css
Normal file
@ -0,0 +1,4 @@
|
||||
p @here {color: red} /* ruleset with unexpected at-keyword "@here" */
|
||||
@foo @bar; /* at-rule with unexpected at-keyword "@bar" */
|
||||
}} {{ - }} /* ruleset with unexpected right brace */
|
||||
) ( {} ) p {color: red } /* ruleset with unexpected right parenthesis */
|
4
tests/css/parser/css-21-malformed-statements.errors
Normal file
4
tests/css/parser/css-21-malformed-statements.errors
Normal file
@ -0,0 +1,4 @@
|
||||
css-21-malformed-statements.css:1: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
css-21-malformed-statements.css:2: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
css-21-malformed-statements.css:3: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
||||
css-21-malformed-statements.css:4: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
|
Loading…
Reference in New Issue
Block a user