summaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-08-22 09:33:04 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-08-22 09:33:04 +0000
commit758b01f92c0d8e1cdd966a5127e267efd0fe6391 (patch)
treeadcb0d6e0a09c2745630ac2520416da513d1eb03 /test/data
parent64ffb54faffc493ff1cd35943a89d62d08183317 (diff)
downloadlibcss-758b01f92c0d8e1cdd966a5127e267efd0fe6391.tar.gz
libcss-758b01f92c0d8e1cdd966a5127e267efd0fe6391.tar.bz2
It turns out that using magic values for text-align is simpler than having an entirely new property for html alignment.
svn path=/trunk/libcss/; revision=9387
Diffstat (limited to 'test/data')
-rw-r--r--test/data/parse/properties.dat60
-rw-r--r--test/data/parse2/illegal-values.dat69
-rw-r--r--test/data/select/tests1.dat3
3 files changed, 24 insertions, 108 deletions
diff --git a/test/data/parse/properties.dat b/test/data/parse/properties.dat
index 3e872d9..2240a38 100644
--- a/test/data/parse/properties.dat
+++ b/test/data/parse/properties.dat
@@ -3167,6 +3167,30 @@ p:before { content: open-quote url('http://picodrive.acornarcade.com/') " : " at
| 0x000c0054
#reset
+#data
+* { text-align: -libcss-left; }
+#errors
+#expected
+| 1 *
+| 0x00100054
+#reset
+
+#data
+* { text-align: -libcss-center; }
+#errors
+#expected
+| 1 *
+| 0x00140054
+#reset
+
+#data
+* { text-align: -libcss-right; }
+#errors
+#expected
+| 1 *
+| 0x00180054
+#reset
+
##
## 55 - text-decoration
##
@@ -3744,39 +3768,3 @@ p:before { content: open-quote url('http://picodrive.acornarcade.com/') " : " at
| 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 5518ca6..b882328 100644
--- a/test/data/parse2/illegal-values.dat
+++ b/test/data/parse2/illegal-values.dat
@@ -4524,73 +4524,4 @@ 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 35b5e61..163e611 100644
--- a/test/data/select/tests1.dat
+++ b/test/data/select/tests1.dat
@@ -303,7 +303,6 @@ white-space: normal
width: auto
word-spacing: normal
z-index: auto
--libcss-align: default
#reset
#tree all
@@ -389,7 +388,6 @@ white-space: normal
width: auto
word-spacing: normal
z-index: auto
--libcss-align: default
#reset
#tree
@@ -539,6 +537,5 @@ white-space: normal
width: auto
word-spacing: normal
z-index: auto
--libcss-align: default
#reset