summaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2009-01-24 14:53:31 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2009-01-24 14:53:31 +0000
commit7d518d8ee916857f9ca107ce7f21a6b0640e231b (patch)
tree4ab1d856ac0c2953573af63c6a601aa636ceacff /test/data
parentbd2d7668fa8e56e9d29ea017e19807a92f3bdfeb (diff)
downloadlibcss-7d518d8ee916857f9ca107ce7f21a6b0640e231b.tar.gz
libcss-7d518d8ee916857f9ca107ce7f21a6b0640e231b.tar.bz2
More tests.
svn path=/trunk/libcss/; revision=6246
Diffstat (limited to 'test/data')
-rw-r--r--test/data/parse2/illegal-values.dat288
1 files changed, 288 insertions, 0 deletions
diff --git a/test/data/parse2/illegal-values.dat b/test/data/parse2/illegal-values.dat
index dc6c439..4168f6f 100644
--- a/test/data/parse2/illegal-values.dat
+++ b/test/data/parse2/illegal-values.dat
@@ -3401,6 +3401,20 @@
#reset
#data
+* { speech-rate: "2"; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { speech-rate: #BBC; }
+#errors
+#expected
+| *
+#reset
+
+#data
* { stress: 50 medium; }
#errors
#expected
@@ -3408,6 +3422,27 @@
#reset
#data
+* { stress: -0.1; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { stress: 101; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { stress: normal; }
+#errors
+#expected
+| *
+#reset
+
+#data
* { stress: medium 50; }
#errors
#expected
@@ -3423,6 +3458,259 @@
#reset
#data
+* { table-layout: none 0; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { table-layout: 0pt; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { table-layout: -0pt; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { table-layout: fixed inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-align: none 0; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-align: 0pt; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-align: -0pt; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-align: fixed inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-align: left right; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-align: left, right; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-align: left | right; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-align: justified; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-align: center 50%; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-align: 50%; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-decoration: underline overline none; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-decoration: underline overline moose; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-decoration: underline moose overline; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-decoration: moose underline overline; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-decoration: blink hidden underline overline; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-decoration: blink 0 underline overline; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-decoration: overline url("Sonic"); }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-decoration: inherit overline; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-indent: -3000px; text-indent: 0 0%; }
+#errors
+#expected
+| *
+| text-indent: -3000px
+#reset
+
+#data
+* { text-indent: 30%, 5%; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-indent: 30% 5%; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-indent: 2em, 4em }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-indent: hidden; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-indent: inherit 30%; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-indent: 30px inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-transform: capitalise; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-transform: uppercase lowercase; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-transform: lowercase none; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-transform: inherit "Sonic"; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-transform: 0; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-transform: 40px; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { text-transform: #BBCbbc; }
+#errors
+#expected
+| *
+#reset
+
+#data
* { top: 50em; bottom: 11; }
#errors
#expected