]> Pileus Git - ~andy/gtk/commitdiff
tests: Add test for latest bugfix
authorBenjamin Otte <otte@redhat.com>
Fri, 12 Oct 2012 15:45:11 +0000 (17:45 +0200)
committerBenjamin Otte <otte@redhat.com>
Fri, 12 Oct 2012 15:45:46 +0000 (17:45 +0200)
tests/css/parser/Makefile.am
tests/css/parser/background-position-errors.css [new file with mode: 0644]
tests/css/parser/background-position-errors.errors [new file with mode: 0644]
tests/css/parser/background-position-errors.ref.css [new file with mode: 0644]

index 857642939e6f4625a4bac73e3ca98acc860a809a..404ad40f23ac730a17f5acab0844dbc225fc9e5a 100644 (file)
@@ -152,6 +152,9 @@ EXTRA_DIST += \
        background-position.css \
        background-position.errors \
        background-position.ref.css \
+       background-position-errors.css \
+       background-position-errors.errors \
+       background-position-errors.ref.css \
        background-repeat.css \
        background-repeat.ref.css \
        background-shorthand.css \
diff --git a/tests/css/parser/background-position-errors.css b/tests/css/parser/background-position-errors.css
new file mode 100644 (file)
index 0000000..e92bc3b
--- /dev/null
@@ -0,0 +1,3 @@
+a {
+  background-position: auto;
+}
diff --git a/tests/css/parser/background-position-errors.errors b/tests/css/parser/background-position-errors.errors
new file mode 100644 (file)
index 0000000..3322629
--- /dev/null
@@ -0,0 +1 @@
+background-position-errors.css:2: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
diff --git a/tests/css/parser/background-position-errors.ref.css b/tests/css/parser/background-position-errors.ref.css
new file mode 100644 (file)
index 0000000..e69de29