diff --git a/tests/css/parser/Makefile.am b/tests/css/parser/Makefile.am index 94b9f9b5cc..62f739fac5 100644 --- a/tests/css/parser/Makefile.am +++ b/tests/css/parser/Makefile.am @@ -49,6 +49,9 @@ EXTRA_DIST += \ import-cyclic-3.css \ import-cyclic-3.errors \ import-cyclic-3.ref.css \ + import-nonexistant.css \ + import-nonexistant.errors \ + import-nonexistant.ref.css \ import-recursive.css \ import-recursive.errors \ import-recursive.ref.css \ diff --git a/tests/css/parser/import-nonexistant.css b/tests/css/parser/import-nonexistant.css new file mode 100644 index 0000000000..b2223773dc --- /dev/null +++ b/tests/css/parser/import-nonexistant.css @@ -0,0 +1,5 @@ +@import url("if-this-file-ever-starts-to-exist-you-have-a-weird-sense-of-naming-files.css"); + +a { + string-property: "make sure it didn't stop parsing"; +} diff --git a/tests/css/parser/import-nonexistant.errors b/tests/css/parser/import-nonexistant.errors new file mode 100644 index 0000000000..428d1110d2 --- /dev/null +++ b/tests/css/parser/import-nonexistant.errors @@ -0,0 +1 @@ +import-nonexistant.css:1: error: GTK_CSS_PROVIDER_ERROR_IMPORT diff --git a/tests/css/parser/import-nonexistant.ref.css b/tests/css/parser/import-nonexistant.ref.css new file mode 100644 index 0000000000..a967eb3321 --- /dev/null +++ b/tests/css/parser/import-nonexistant.ref.css @@ -0,0 +1,3 @@ +a { + string-property: "make sure it didn't stop parsing"; +}