summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2009-01-23 21:45:46 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2009-01-23 21:45:46 +0000
commit8e7d59ae95071b7fc3996ae77869a698075f6279 (patch)
tree8b0ffa36b704cc558980692be59d3b64b3dcbb7d /test
parent74022a10da9e4b72919a954a2d2284ae65a2a4be (diff)
downloadlibcss-8e7d59ae95071b7fc3996ae77869a698075f6279.tar.gz
libcss-8e7d59ae95071b7fc3996ae77869a698075f6279.tar.bz2
More tests.
svn path=/trunk/libcss/; revision=6195
Diffstat (limited to 'test')
-rw-r--r--test/data/parse2/illegal-values.dat486
1 files changed, 486 insertions, 0 deletions
diff --git a/test/data/parse2/illegal-values.dat b/test/data/parse2/illegal-values.dat
index 842ec96..05b941e 100644
--- a/test/data/parse2/illegal-values.dat
+++ b/test/data/parse2/illegal-values.dat
@@ -400,6 +400,492 @@
#reset
#data
+* { content::; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { content: content: counters(n, ".", moo, moose); }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { content: content: content: open-quote shoe-horn url('http://picodrive.acornarcade.com/') " : " attr(name) " " counter(x) "." counters(y, ".") close-quote; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { counter-increment: "moose" 7; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { counter-increment: 1st-moose 7; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { counter-increment: sonic&knuckles 7; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { counter-increment: sonic 7 2; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { counter-increment: sonic 7 knuckles 2; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { counter-increment: sonic 2nd; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { counter-increment: sonic 2px; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { counter-increment: sonic "2"; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { counter-increment: sonic url(2); }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { counter-increment: url(2) 1; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { counter-inctement: woo; }
+#errors
+#expected
+| *
+| counter-increment: woo 1
+#reset
+
+#data
+* { counter-increment: 1; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { counter-reset: "moose" 7; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { counter-reset: 1st-moose 7; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { counter-reset: sonic&knuckles 7; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { counter-reset: sonic 7 2; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { counter-reset: sonic 7 knuckles 2; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { counter-reset: sonic 2nd; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { counter-reset: sonic 2px; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { counter-reset: sonic "2"; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { counter-reset: sonic url(2); }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { counter-reset: url(2) 1; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { counter-reset: 1; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { counter-reset: woo; }
+#errors
+#expected
+| *
+| counter-reset: woo 0
+#reset
+
+#data
+* { cue-after: url(mooo; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { cue-after: url(mooo) woo; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { cue-after: woo url(mooo); }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { cue-after: ""; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { cue-after: "woo"; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { cue-after: url"woo"; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { cue-after: 10px; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { cue-after: 0; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { cue-after: sonic the hedgehog; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { cue-before: url(mooo; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { cue-before: url(mooo) woo; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { cue-before: woo url(mooo); }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { cue-before: ""; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { cue-before: "woo"; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { cue-before: url"woo"; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { cue-before: 10px; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { cue-before: 0; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { cue-before: sonic the hedgehog; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { cursor: sonic the hedgehog; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { cursor: "sonic the hedgehog"; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { cursor: move help; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { cursor: move url("moose") help; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { direction: rtl ltr; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { direction: rtl, ltr; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { direction: "ltr"; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { direction: -ltr; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { direction: -1 ltr; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { direction: ltr -1; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { direction: -1; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { direction: 0; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { direction: url(knuckles); }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { display: web; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { display: "sonic"; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { display: block inline-block; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { display: block, inline-block; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { display: block 0; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { display: 0 block; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { display: 0.00; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { display: 0.00em; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { display: 0.0%; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { display: ^; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { display: 
+#errors
+#expected
+| *
+| position: fixed;
+#reset
+
+#data
* { stress: 50 medium; }
#errors
#expected