summaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2009-01-23 18:40:42 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2009-01-23 18:40:42 +0000
commitddc5e14034a837142ee7a49059e3715ad30ab9d2 (patch)
tree8717a1af01cd50724a88fceedefa6b0ab0f4924e /test/data
parent253a522ae6d44a236ea5b81c687902cf05d9b72f (diff)
downloadlibcss-ddc5e14034a837142ee7a49059e3715ad30ab9d2.tar.gz
libcss-ddc5e14034a837142ee7a49059e3715ad30ab9d2.tar.bz2
More property testing.
svn path=/trunk/libcss/; revision=6182
Diffstat (limited to 'test/data')
-rw-r--r--test/data/parse2/illegal-values.dat82
1 files changed, 82 insertions, 0 deletions
diff --git a/test/data/parse2/illegal-values.dat b/test/data/parse2/illegal-values.dat
index 24d8072..27b8c78 100644
--- a/test/data/parse2/illegal-values.dat
+++ b/test/data/parse2/illegal-values.dat
@@ -259,6 +259,88 @@
#reset
#data
+* { bottom: -4; bottom: blunderbus; bottom: -50%; bottom: 6Hz; }
+#errors
+#expected
+| *
+| bottom: -50%;
+#reset
+
+#data
+* { left: -4; left: blunderbus; left: -50%; left: 6Hz; }
+#errors
+#expected
+| *
+| left: -50%;
+#reset
+
+#data
+* { right: -4; right: blunderbus; right: 1em; right: 6Hz; }
+#errors
+#expected
+| *
+| right: 1em;
+#reset
+
+#data
+* { top: -4; top: blunderbus; top: -50%; top: 6Hz; }
+#errors
+#expected
+| *
+| top: -50%;
+#reset
+
+#data
+* { caption-side: 0; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { caption-side: top "7"; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { caption-side: 7em; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { clip: rect("0 2px 30px 1px"); clip: rect(0 60px 40pt 0px); }
+#errors
+#expected
+| *
+| clip: rect(0 60px 40pt 0px)
+#reset
+
+#data
+* { clip: rect(1px 2px); }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { clip: rect(1px 2px 1px 2px 1px); }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { clip: 1px 2px 1px 2px; }
+#errors
+#expected
+| *
+#reset
+
+#data
* { color: #gghhgg; }
#errors
#expected