summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2009-06-26 18:49:12 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2009-06-26 18:49:12 +0000
commit816cf1eb0eb52256b46cf3dad15aeb1a650ee531 (patch)
tree1d0538482a84a37f0a5e02a17922119a9b56e351 /test
parent55ef52527abd5750fba3a4ed2ab3a7b6379c3a47 (diff)
downloadlibcss-816cf1eb0eb52256b46cf3dad15aeb1a650ee531.tar.gz
libcss-816cf1eb0eb52256b46cf3dad15aeb1a650ee531.tar.bz2
Inherit tests. At least one currently fails.
svn path=/trunk/libcss/; revision=8022
Diffstat (limited to 'test')
-rw-r--r--test/data/parse2/margin.dat50
1 files changed, 50 insertions, 0 deletions
diff --git a/test/data/parse2/margin.dat b/test/data/parse2/margin.dat
index a1f9ef0..f079900 100644
--- a/test/data/parse2/margin.dat
+++ b/test/data/parse2/margin.dat
@@ -21,6 +21,31 @@
#reset
#data
+* { margin: auto inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { margin: inherit; }
+#errors
+#expected
+| *
+| margin-top: inherit
+| margin-right: inherit
+| margin-bottom: inherit
+| margin-left: inherit
+#reset
+
+#data
+* { margin: inherit auto auto; }
+#errors
+#expected
+| *
+#reset
+
+#data
* { margin: auto auto 0; }
#errors
#expected
@@ -66,6 +91,24 @@
#reset
#data
+* { margin: auto auto inherit auto ! important; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { margin: inherit !important; }
+#errors
+#expected
+| *
+| margin-top: inherit !important
+| margin-right: inherit !important
+| margin-bottom: inherit !important
+| margin-left: inherit !important
+#reset
+
+#data
* { margin: auto auto 0 !important; }
#errors
#expected
@@ -87,6 +130,13 @@
| margin-left: 0px !important
#reset
+#data
+* { margin: auto auto 10px !important 0; }
+#errors
+#expected
+| *
+#reset
+
#data
* { margin: invalid; }