[gtk+/parser: 10/74] tests: Add CSS test checking that we don't need a semicolon



commit 80daf5039eaae17070fef317309d90f4901d4daa
Author: Benjamin Otte <otte redhat com>
Date:   Thu Apr 7 12:14:58 2011 +0200

    tests: Add CSS test checking that we don't need a semicolon

 tests/css/parser/Makefile.am          |    2 ++
 tests/css/parser/no-semicolon.css     |    4 ++++
 tests/css/parser/no-semicolon.ref.css |    7 +++++++
 3 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/tests/css/parser/Makefile.am b/tests/css/parser/Makefile.am
index 1108f1b..30b6013 100644
--- a/tests/css/parser/Makefile.am
+++ b/tests/css/parser/Makefile.am
@@ -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
index 0000000..7f8be3a
--- /dev/null
+++ b/tests/css/parser/no-semicolon.css
@@ -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
index 0000000..ec07f1e
--- /dev/null
+++ b/tests/css/parser/no-semicolon.ref.css
@@ -0,0 +1,7 @@
+foo {
+  color: rgb(255,255,255);
+}
+
+bar {
+  color: rgb(0,0,0);
+}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]