summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-01-28 15:39:38 (GMT)
committer Michael Drake <tlsa@netsurf-browser.org>2012-01-28 15:39:38 (GMT)
commit6800a4d203fa62366720cc18993a74af92c0359c (patch)
treeb883fb68856f79552492168a7749d56187e1dc98
parente638e1a286156d53816563c290524c241a570de6 (diff)
downloadlibcss-6800a4d203fa62366720cc18993a74af92c0359c.tar.gz
libcss-6800a4d203fa62366720cc18993a74af92c0359c.tar.bz2
Add some tests.
svn path=/trunk/libcss/; revision=13411
-rw-r--r--test/data/parse2/bg.dat8
-rw-r--r--test/data/parse2/border.dat7
-rw-r--r--test/data/parse2/outline.dat7
3 files changed, 22 insertions, 0 deletions
diff --git a/test/data/parse2/bg.dat b/test/data/parse2/bg.dat
index 0ad6444..31210b6 100644
--- a/test/data/parse2/bg.dat
+++ b/test/data/parse2/bg.dat
@@ -235,6 +235,14 @@
#reset
#data
+* { background-color: red !important; }
+#errors
+#expected
+| *
+| background-color: #ffff0000 !important
+#reset
+
+#data
* { background-attachment: inherit; }
#errors
#expected
diff --git a/test/data/parse2/border.dat b/test/data/parse2/border.dat
index cd9ab13..ec7b796 100644
--- a/test/data/parse2/border.dat
+++ b/test/data/parse2/border.dat
@@ -1731,6 +1731,13 @@
| *
#reset
+#data
+* { border-bottom-color: red !important; }
+#errors
+#expected
+| *
+| border-bottom-color: #ffff0000 !important
+#reset
diff --git a/test/data/parse2/outline.dat b/test/data/parse2/outline.dat
index 363b5d9..50a6345 100644
--- a/test/data/parse2/outline.dat
+++ b/test/data/parse2/outline.dat
@@ -722,6 +722,13 @@
| *
#reset
+#data
+* { outline-color: red !important; }
+#errors
+#expected
+| *
+| outline-color: #ffff0000 !important
+#reset