diff --git a/tests/css/parser/Makefile.am b/tests/css/parser/Makefile.am index b990872dcc..c9e75eb562 100644 --- a/tests/css/parser/Makefile.am +++ b/tests/css/parser/Makefile.am @@ -40,6 +40,9 @@ EXTRA_DIST += \ does-not-exist.css \ does-not-exist.errors \ does-not-exist.ref.css \ + import-recursive.css \ + import-recursive.errors \ + import-recursive.ref.css \ integer.css \ integer.errors \ integer.ref.css \ diff --git a/tests/css/parser/import-recursive.css b/tests/css/parser/import-recursive.css new file mode 100644 index 0000000000..ac9c81e4df --- /dev/null +++ b/tests/css/parser/import-recursive.css @@ -0,0 +1,5 @@ +@import url("import-recursive.css"); + +a { + string-property: "Make sure this is parsed" +} diff --git a/tests/css/parser/import-recursive.errors b/tests/css/parser/import-recursive.errors new file mode 100644 index 0000000000..89ceef1843 --- /dev/null +++ b/tests/css/parser/import-recursive.errors @@ -0,0 +1 @@ +import-recursive.css:1: error: GTK_CSS_PROVIDER_ERROR_IMPORT diff --git a/tests/css/parser/import-recursive.ref.css b/tests/css/parser/import-recursive.ref.css new file mode 100644 index 0000000000..358a8c414b --- /dev/null +++ b/tests/css/parser/import-recursive.ref.css @@ -0,0 +1,3 @@ +a { + string-property: "Make sure this is parsed"; +}