diff --git a/testsuite/css/parser/Makefile.am b/testsuite/css/parser/Makefile.am index ec5516240d..5e0577932d 100644 --- a/testsuite/css/parser/Makefile.am +++ b/testsuite/css/parser/Makefile.am @@ -320,6 +320,9 @@ test_data = \ no-semicolon.ref.css \ nth-child.css \ nth-child.ref.css \ + property-name-errors.css \ + property-name-errors.errors \ + property-name-errors.ref.css \ pseudo-classes-unknown.css \ pseudo-classes-unknown.errors \ pseudo-classes-unknown.ref.css \ diff --git a/testsuite/css/parser/property-name-errors.css b/testsuite/css/parser/property-name-errors.css new file mode 100644 index 0000000000..b95ff30667 --- /dev/null +++ b/testsuite/css/parser/property-name-errors.css @@ -0,0 +1,4 @@ +* { + nonexisting-property: something; + -gtk-nonexisting-property: "something else"; +} diff --git a/testsuite/css/parser/property-name-errors.errors b/testsuite/css/parser/property-name-errors.errors new file mode 100644 index 0000000000..5d5c4d0647 --- /dev/null +++ b/testsuite/css/parser/property-name-errors.errors @@ -0,0 +1,2 @@ +property-name-errors.css:2: error: GTK_CSS_PROVIDER_ERROR_NAME +property-name-errors.css:3: error: GTK_CSS_PROVIDER_ERROR_NAME diff --git a/testsuite/css/parser/property-name-errors.ref.css b/testsuite/css/parser/property-name-errors.ref.css new file mode 100644 index 0000000000..e69de29bb2