summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-02-03 13:30:52 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2012-02-03 13:30:52 +0000
commitbd8ef0f5e2ec383b528b825eba4724b90643cbef (patch)
treebf10e3dd6db913e2db44227a971582541a116150 /test
parent32ed7d0984f0dd872b4aaac0ac12c18471f291a0 (diff)
downloadlibcss-bd8ef0f5e2ec383b528b825eba4724b90643cbef.tar.gz
Add parsing of CSS3 Multi-column layout module shorthand properties. (columns & column-rule)
svn path=/trunk/libcss/; revision=13416
Diffstat (limited to 'test')
-rw-r--r--test/data/parse2/multicol.dat638
1 files changed, 638 insertions, 0 deletions
diff --git a/test/data/parse2/multicol.dat b/test/data/parse2/multicol.dat
index d9a7650..b0bbfb6 100644
--- a/test/data/parse2/multicol.dat
+++ b/test/data/parse2/multicol.dat
@@ -663,3 +663,641 @@
| column-width: inherit
#reset
+
+
+
+
+
+#data
+* { columns: 30em; }
+#errors
+#expected
+| *
+| column-width: 30em
+| column-count: auto
+#reset
+
+#data
+* { columns: auto; }
+#errors
+#expected
+| *
+| column-width: auto
+| column-count: auto
+#reset
+
+#data
+* { columns: auto auto; }
+#errors
+#expected
+| *
+| column-width: auto
+| column-count: auto
+#reset
+
+#data
+* { columns: 30em 2; }
+#errors
+#expected
+| *
+| column-width: 30em
+| column-count: 2
+#reset
+
+#data
+* { columns: 4; }
+#errors
+#expected
+| *
+| column-width: auto
+| column-count: 4
+#reset
+
+#data
+* { columns: 40%; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { columns: 90deg; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { columns: inherit 4; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { columns: inherit 400px; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { columns: auto auto auto; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { columns: invalid; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { columns: inherit 3em; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { columns: 3em inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { columns: 3 inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { columns: inherit inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { columns: inherit; }
+#errors
+#expected
+| *
+| column-width: inherit
+| column-count: inherit
+#reset
+
+#data
+* { columns: inherit !important; }
+#errors
+#expected
+| *
+| column-width: inherit !important
+| column-count: inherit !important
+#reset
+
+#data
+* { columns: 30em !important; }
+#errors
+#expected
+| *
+| column-width: 30em !important
+| column-count: auto !important
+#reset
+
+#data
+* { columns: auto !important; }
+#errors
+#expected
+| *
+| column-width: auto !important
+| column-count: auto !important
+#reset
+
+#data
+* { columns: auto auto !important; }
+#errors
+#expected
+| *
+| column-width: auto !important
+| column-count: auto !important
+#reset
+
+#data
+* { columns: 30em 2 !important; }
+#errors
+#expected
+| *
+| column-width: 30em !important
+| column-count: 2 !important
+#reset
+
+#data
+* { columns: 4 !important; }
+#errors
+#expected
+| *
+| column-width: auto !important
+| column-count: 4 !important
+#reset
+
+#data
+* { column-rule: inherit; }
+#errors
+#expected
+| *
+| column-rule-color: inherit
+| column-rule-style: inherit
+| column-rule-width: inherit
+#reset
+
+#data
+* { column-rule: red; }
+#errors
+#expected
+| *
+| column-rule-color: #ffff0000
+| column-rule-style: none
+| column-rule-width: medium
+#reset
+
+#data
+* { column-rule: transparent; }
+#errors
+#expected
+| *
+| column-rule-color: transparent
+| column-rule-style: none
+| column-rule-width: medium
+#reset
+
+#data
+* { column-rule: currentColor; }
+#errors
+#expected
+| *
+| column-rule-color: currentColor
+| column-rule-style: none
+| column-rule-width: medium
+#reset
+
+#data
+* { column-rule: solid; }
+#errors
+#expected
+| *
+| column-rule-color: #00000000
+| column-rule-style: solid
+| column-rule-width: medium
+#reset
+
+#data
+* { column-rule: thin; }
+#errors
+#expected
+| *
+| column-rule-color: #00000000
+| column-rule-style: none
+| column-rule-width: thin
+#reset
+
+#data
+* { column-rule: red solid; }
+#errors
+#expected
+| *
+| column-rule-color: #ffff0000
+| column-rule-style: solid
+| column-rule-width: medium
+#reset
+
+#data
+* { column-rule: solid red; }
+#errors
+#expected
+| *
+| column-rule-color: #ffff0000
+| column-rule-style: solid
+| column-rule-width: medium
+#reset
+
+#data
+* { column-rule: red thin; }
+#errors
+#expected
+| *
+| column-rule-color: #ffff0000
+| column-rule-style: none
+| column-rule-width: thin
+#reset
+
+#data
+* { column-rule: thin red; }
+#errors
+#expected
+| *
+| column-rule-color: #ffff0000
+| column-rule-style: none
+| column-rule-width: thin
+#reset
+
+#data
+* { column-rule: solid thin; }
+#errors
+#expected
+| *
+| column-rule-color: #00000000
+| column-rule-style: solid
+| column-rule-width: thin
+#reset
+
+#data
+* { column-rule: thin solid; }
+#errors
+#expected
+| *
+| column-rule-color: #00000000
+| column-rule-style: solid
+| column-rule-width: thin
+#reset
+
+#data
+* { column-rule: red solid thin; }
+#errors
+#expected
+| *
+| column-rule-color: #ffff0000
+| column-rule-style: solid
+| column-rule-width: thin
+#reset
+
+#data
+* { column-rule: red thin solid; }
+#errors
+#expected
+| *
+| column-rule-color: #ffff0000
+| column-rule-style: solid
+| column-rule-width: thin
+#reset
+
+#data
+* { column-rule: solid red thin; }
+#errors
+#expected
+| *
+| column-rule-color: #ffff0000
+| column-rule-style: solid
+| column-rule-width: thin
+#reset
+
+#data
+* { column-rule: solid thin red; }
+#errors
+#expected
+| *
+| column-rule-color: #ffff0000
+| column-rule-style: solid
+| column-rule-width: thin
+#reset
+
+#data
+* { column-rule: thin red solid; }
+#errors
+#expected
+| *
+| column-rule-color: #ffff0000
+| column-rule-style: solid
+| column-rule-width: thin
+#reset
+
+#data
+* { column-rule: thin solid red; }
+#errors
+#expected
+| *
+| column-rule-color: #ffff0000
+| column-rule-style: solid
+| column-rule-width: thin
+#reset
+
+
+#data
+* { column-rule: inherit !important; }
+#errors
+#expected
+| *
+| column-rule-color: inherit !important
+| column-rule-style: inherit !important
+| column-rule-width: inherit !important
+#reset
+
+#data
+* { column-rule: red !important; }
+#errors
+#expected
+| *
+| column-rule-color: #ffff0000 !important
+| column-rule-style: none !important
+| column-rule-width: medium !important
+#reset
+
+#data
+* { column-rule: solid !important; }
+#errors
+#expected
+| *
+| column-rule-color: #00000000 !important
+| column-rule-style: solid !important
+| column-rule-width: medium !important
+#reset
+
+#data
+* { column-rule: thin !important; }
+#errors
+#expected
+| *
+| column-rule-color: #00000000 !important
+| column-rule-style: none !important
+| column-rule-width: thin !important
+#reset
+
+#data
+* { column-rule: red solid !important; }
+#errors
+#expected
+| *
+| column-rule-color: #ffff0000 !important
+| column-rule-style: solid !important
+| column-rule-width: medium !important
+#reset
+
+#data
+* { column-rule: solid red !important; }
+#errors
+#expected
+| *
+| column-rule-color: #ffff0000 !important
+| column-rule-style: solid !important
+| column-rule-width: medium !important
+#reset
+
+#data
+* { column-rule: red thin !important; }
+#errors
+#expected
+| *
+| column-rule-color: #ffff0000 !important
+| column-rule-style: none !important
+| column-rule-width: thin !important
+#reset
+
+#data
+* { column-rule: thin red !important; }
+#errors
+#expected
+| *
+| column-rule-color: #ffff0000 !important
+| column-rule-style: none !important
+| column-rule-width: thin !important
+#reset
+
+#data
+* { column-rule: solid thin !important; }
+#errors
+#expected
+| *
+| column-rule-color: #00000000 !important
+| column-rule-style: solid !important
+| column-rule-width: thin !important
+#reset
+
+#data
+* { column-rule: thin solid !important; }
+#errors
+#expected
+| *
+| column-rule-color: #00000000 !important
+| column-rule-style: solid !important
+| column-rule-width: thin !important
+#reset
+
+#data
+* { column-rule: red solid thin !important; }
+#errors
+#expected
+| *
+| column-rule-color: #ffff0000 !important
+| column-rule-style: solid !important
+| column-rule-width: thin !important
+#reset
+
+#data
+* { column-rule: red thin solid !important; }
+#errors
+#expected
+| *
+| column-rule-color: #ffff0000 !important
+| column-rule-style: solid !important
+| column-rule-width: thin !important
+#reset
+
+#data
+* { column-rule: solid red thin !important; }
+#errors
+#expected
+| *
+| column-rule-color: #ffff0000 !important
+| column-rule-style: solid !important
+| column-rule-width: thin !important
+#reset
+
+#data
+* { column-rule: solid thin red !important; }
+#errors
+#expected
+| *
+| column-rule-color: #ffff0000 !important
+| column-rule-style: solid !important
+| column-rule-width: thin !important
+#reset
+
+#data
+* { column-rule: thin red solid !important; }
+#errors
+#expected
+| *
+| column-rule-color: #ffff0000 !important
+| column-rule-style: solid !important
+| column-rule-width: thin !important
+#reset
+
+#data
+* { column-rule: thin solid red !important; }
+#errors
+#expected
+| *
+| column-rule-color: #ffff0000 !important
+| column-rule-style: solid !important
+| column-rule-width: thin !important
+#reset
+
+
+#data
+* { column-rule: invalid; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { column-rule: ; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { column-rule:}
+#errors
+#expected
+| *
+#reset
+
+#data
+* { column-rule: thin solid red inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { column-rule: inherit thin solid #fff; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { column-rule: inherit thin; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { column-rule: thin inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { column-rule: inherit inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { column-rule: inherit #BBC !important; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { column-rule: #BBC !important inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { column-rule: red inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { column-rule: inherit inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { column-rule: inherit red; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { column-rule: thin inherit red; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { column-rule: thin inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { column-rule: solid inherit; }
+#errors
+#expected
+| *
+#reset
+
+