mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 14:20:21 +00:00
csstokenizer: Add more testcases
This commit is contained in:
parent
bc7972dfa7
commit
dd299c50bf
@ -0,0 +1,2 @@
|
||||
a {
|
||||
animation-name: -\
|
@ -0,0 +1,2 @@
|
||||
dash-backslash-eof-is-identifier.css:2:3-21: error: GTK_CSS_PARSER_WARNING_SYNTAX
|
||||
dash-backslash-eof-is-identifier.css:1:3-2:21: error: GTK_CSS_PARSER_WARNING_SYNTAX
|
@ -0,0 +1,3 @@
|
||||
a {
|
||||
animation-name: -<EFBFBD>;
|
||||
}
|
2
testsuite/css/parser/dash-backslash-newline-is-delim.css
Normal file
2
testsuite/css/parser/dash-backslash-newline-is-delim.css
Normal file
@ -0,0 +1,2 @@
|
||||
a {
|
||||
animation-name: -\
|
@ -0,0 +1,3 @@
|
||||
dash-backslash-newline-is-delim.css:2:19-20: error: GTK_CSS_PARSER_ERROR_SYNTAX
|
||||
dash-backslash-newline-is-delim.css:2:3-3:1: error: GTK_CSS_PARSER_WARNING_SYNTAX
|
||||
dash-backslash-newline-is-delim.css:1:3-3:1: error: GTK_CSS_PARSER_WARNING_SYNTAX
|
@ -0,0 +1,2 @@
|
||||
a {
|
||||
}
|
2
testsuite/css/parser/dash-dash-eof-is-identifier.css
Normal file
2
testsuite/css/parser/dash-dash-eof-is-identifier.css
Normal file
@ -0,0 +1,2 @@
|
||||
a {
|
||||
animation-name: --
|
2
testsuite/css/parser/dash-dash-eof-is-identifier.errors
Normal file
2
testsuite/css/parser/dash-dash-eof-is-identifier.errors
Normal file
@ -0,0 +1,2 @@
|
||||
dash-dash-eof-is-identifier.css:2:3-21: error: GTK_CSS_PARSER_WARNING_SYNTAX
|
||||
dash-dash-eof-is-identifier.css:1:3-2:21: error: GTK_CSS_PARSER_WARNING_SYNTAX
|
3
testsuite/css/parser/dash-dash-eof-is-identifier.ref.css
Normal file
3
testsuite/css/parser/dash-dash-eof-is-identifier.ref.css
Normal file
@ -0,0 +1,3 @@
|
||||
a {
|
||||
animation-name: --;
|
||||
}
|
2
testsuite/css/parser/dash-eof-is-delim.css
Normal file
2
testsuite/css/parser/dash-eof-is-delim.css
Normal file
@ -0,0 +1,2 @@
|
||||
a {
|
||||
animation-name: -
|
3
testsuite/css/parser/dash-eof-is-delim.errors
Normal file
3
testsuite/css/parser/dash-eof-is-delim.errors
Normal file
@ -0,0 +1,3 @@
|
||||
dash-eof-is-delim.css:2:19-20: error: GTK_CSS_PARSER_ERROR_SYNTAX
|
||||
dash-eof-is-delim.css:2:3-20: error: GTK_CSS_PARSER_WARNING_SYNTAX
|
||||
dash-eof-is-delim.css:1:3-2:20: error: GTK_CSS_PARSER_WARNING_SYNTAX
|
2
testsuite/css/parser/dash-eof-is-delim.ref.css
Normal file
2
testsuite/css/parser/dash-eof-is-delim.ref.css
Normal file
@ -0,0 +1,2 @@
|
||||
a {
|
||||
}
|
@ -226,6 +226,18 @@ test_data = [
|
||||
'css-21-malformed-statements.errors',
|
||||
'css-21-malformed-statements.ref.css',
|
||||
'currentcolor-everywhere.css',
|
||||
'dash-backslash-eof-is-identifier.ref.css',
|
||||
'dash-backslash-eof-is-identifier.css',
|
||||
'dash-backslash-eof-is-identifier.errors',
|
||||
'dash-backslash-newline-is-delim.ref.css',
|
||||
'dash-backslash-newline-is-delim.errors',
|
||||
'dash-backslash-newline-is-delim.css
|
||||
'dash-dash-eof-is-identifier.ref.css',
|
||||
'dash-dash-eof-is-identifier.css',
|
||||
'dash-dash-eof-is-identifier.errors',
|
||||
'dash-eof-is-delim.ref.css',
|
||||
'dash-eof-is-delim.css',
|
||||
'dash-eof-is-delim.errors',
|
||||
'declarations.css',
|
||||
'declarations.errors',
|
||||
'declarations-invalid-01.css',
|
||||
|
Loading…
Reference in New Issue
Block a user