summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2009-06-27 09:00:51 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2009-06-27 09:00:51 +0000
commite3c190af648b4a9c777406562c86f82cba531927 (patch)
tree0487dec27664ab800075683be1b3b28adffe10f1 /test
parent2c0545c84b280328e15d87de1bf8023e92a8affe (diff)
downloadlibcss-e3c190af648b4a9c777406562c86f82cba531927.tar.gz
libcss-e3c190af648b4a9c777406562c86f82cba531927.tar.bz2
A few more margin tests.
svn path=/trunk/libcss/; revision=8045
Diffstat (limited to 'test')
-rw-r--r--test/data/parse2/margin.dat41
1 files changed, 41 insertions, 0 deletions
diff --git a/test/data/parse2/margin.dat b/test/data/parse2/margin.dat
index f079900..f4b3754 100644
--- a/test/data/parse2/margin.dat
+++ b/test/data/parse2/margin.dat
@@ -160,3 +160,44 @@
#reset
+
+#data
+* { margin-top: inherit;}
+#errors
+#expected
+| *
+| margin-top: inherit
+#reset
+
+#data
+* { margin-right: inherit;}
+#errors
+#expected
+| *
+| margin-right: inherit
+#reset
+
+#data
+* { margin-bottom: inherit;}
+#errors
+#expected
+| *
+| margin-bottom: inherit
+#reset
+
+#data
+* { margin-bottom: 2em inherit;}
+#errors
+#expected
+| *
+#reset
+
+#data
+* { margin-left: inherit;}
+#errors
+#expected
+| *
+| margin-left: inherit
+#reset
+
+