From 5c20bde8b544d23fd024dad7ace9b46849336ebf Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 21 Aug 2009 09:45:13 +0000 Subject: -libcss-align svn path=/trunk/libcss/; revision=9378 --- test/data/parse/properties.dat | 37 ++++++++++++++++++++ test/data/parse2/illegal-values.dat | 70 +++++++++++++++++++++++++++++++++++++ test/data/select/tests1.dat | 3 ++ 3 files changed, 110 insertions(+) (limited to 'test/data') diff --git a/test/data/parse/properties.dat b/test/data/parse/properties.dat index 8dabbc1..3e872d9 100644 --- a/test/data/parse/properties.dat +++ b/test/data/parse/properties.dat @@ -3743,3 +3743,40 @@ p:before { content: open-quote url('http://picodrive.acornarcade.com/') " : " at | 1 * | 0x02000062 0xfffffc00 #reset + +## +## 63 - -libcss-align +## + +#data +* { -libcss-align: left; } +#errors +#expected +| 1 * +| 0x00000063 +#reset + +#data +* { -libcss-align: right; } +#errors +#expected +| 1 * +| 0x00040063 +#reset + +#data +* { -libcss-align: center; } +#errors +#expected +| 1 * +| 0x00080063 +#reset + +#data +* { -libcss-align: justify; } +#errors +#expected +| 1 * +| 0x000c0063 +#reset + diff --git a/test/data/parse2/illegal-values.dat b/test/data/parse2/illegal-values.dat index 8576166..5518ca6 100644 --- a/test/data/parse2/illegal-values.dat +++ b/test/data/parse2/illegal-values.dat @@ -4524,3 +4524,73 @@ max-height: 30%; min-height: 2em; } | * #reset +#data +* { -libcss-align: none 0; } +#errors +#expected +| * +#reset + +#data +* { -libcss-align: 0pt; } +#errors +#expected +| * +#reset + +#data +* { -libcss-align: -0pt; } +#errors +#expected +| * +#reset + +#data +* { -libcss-align: fixed inherit; } +#errors +#expected +| * +#reset + +#data +* { -libcss-align: left right; } +#errors +#expected +| * +#reset + +#data +* { -libcss-align: left, right; } +#errors +#expected +| * +#reset + +#data +* { -libcss-align: left | right; } +#errors +#expected +| * +#reset + +#data +* { -libcss-align: justified; } +#errors +#expected +| * +#reset + +#data +* { -libcss-align: center 50%; } +#errors +#expected +| * +#reset + +#data +* { -libcss-align: 50%; } +#errors +#expected +| * +#reset + diff --git a/test/data/select/tests1.dat b/test/data/select/tests1.dat index 163e611..35b5e61 100644 --- a/test/data/select/tests1.dat +++ b/test/data/select/tests1.dat @@ -303,6 +303,7 @@ white-space: normal width: auto word-spacing: normal z-index: auto +-libcss-align: default #reset #tree all @@ -388,6 +389,7 @@ white-space: normal width: auto word-spacing: normal z-index: auto +-libcss-align: default #reset #tree @@ -537,5 +539,6 @@ white-space: normal width: auto word-spacing: normal z-index: auto +-libcss-align: default #reset -- cgit v1.2.3