]> Pileus Git - ~andy/gtk/commitdiff
tests: Add CSS test checking that we don't need a semicolon
authorBenjamin Otte <otte@redhat.com>
Thu, 7 Apr 2011 10:14:58 +0000 (12:14 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 18 May 2011 19:58:43 +0000 (21:58 +0200)
tests/css/parser/Makefile.am
tests/css/parser/no-semicolon.css [new file with mode: 0644]
tests/css/parser/no-semicolon.ref.css [new file with mode: 0644]

index 1108f1b15e6c0932fffdaa66aa29cd10380629e3..30b6013e30c4b0ab546638abf7891c3ec7b12ccc 100644 (file)
@@ -27,4 +27,6 @@ clean-local:
 EXTRA_DIST += \
        does-not-exist.css \
        does-not-exist.ref.css \
+       no-semicolon.css \
+       no-semicolon.ref.css \
        simple.css
diff --git a/tests/css/parser/no-semicolon.css b/tests/css/parser/no-semicolon.css
new file mode 100644 (file)
index 0000000..7f8be3a
--- /dev/null
@@ -0,0 +1,4 @@
+foo {
+  color: rgb(255,255,255)
+}
+bar { color: rgb(0,0,0) }
diff --git a/tests/css/parser/no-semicolon.ref.css b/tests/css/parser/no-semicolon.ref.css
new file mode 100644 (file)
index 0000000..ec07f1e
--- /dev/null
@@ -0,0 +1,7 @@
+foo {
+  color: rgb(255,255,255);
+}
+
+bar {
+  color: rgb(0,0,0);
+}