summaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2009-01-17 17:23:04 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2009-01-17 17:23:04 +0000
commit9e0807bdf9b958c56cf219aacc106221060a8b42 (patch)
tree7e1ace2c11d9b8d2571cb262ecc27e453038e455 /test/data
parentde86e813248708d610406c80f3fbe0c1790f4dc7 (diff)
downloadlibcss-9e0807bdf9b958c56cf219aacc106221060a8b42.tar.gz
libcss-9e0807bdf9b958c56cf219aacc106221060a8b42.tar.bz2
Test cases for properties 50 to 53. (All properties now have test cases.)
svn path=/trunk/libcss/; revision=6118
Diffstat (limited to 'test/data')
-rw-r--r--test/data/parse/properties.dat88
1 files changed, 88 insertions, 0 deletions
diff --git a/test/data/parse/properties.dat b/test/data/parse/properties.dat
index d8b5dff..c080e27 100644
--- a/test/data/parse/properties.dat
+++ b/test/data/parse/properties.dat
@@ -3593,3 +3593,91 @@ p:before { content: open-quote url('http://picodrive.acornarcade.com/') " : " at
| 1 *
| 0x0010004f
#reset
+
+##
+## 50 - widows
+##
+
+#data
+* { widows: 3; }
+#errors
+#expected
+| 1 *
+| 0x02000050 0x00000c00
+#reset
+
+##
+## 51 - width
+##
+
+#data
+* { width: auto; }
+#errors
+#expected
+| 1 *
+| 0x00000051
+#reset
+
+#data
+* { width: 99999.999ex; }
+#errors
+#expected
+| 1 *
+| 0x02000051 0x061a7fff 0x00000001
+#reset
+
+#data
+* { width: 66.667%; }
+#errors
+#expected
+| 1 *
+| 0x02000051 0x00010aab 0x00000100
+#reset
+
+##
+## 52 - word-spacing
+##
+
+#data
+* { word-spacing: normal; }
+#errors
+#expected
+| 1 *
+| 0x00000052
+#reset
+
+#data
+* { word-spacing: 0.1em; }
+#errors
+#expected
+| 1 *
+| 0x02000052 0x00000066 0x00000002
+#reset
+
+##
+## 53 - z-index
+##
+
+#data
+* { z-index: auto; }
+#errors
+#expected
+| 1 *
+| 0x00000053
+#reset
+
+#data
+* { z-index: 2; }
+#errors
+#expected
+| 1 *
+| 0x02000053 0x00000800
+#reset
+
+#data
+* { z-index: -1; }
+#errors
+#expected
+| 1 *
+| 0x02000053 0xfffffc00
+#reset