Author: tlsa
Date: Sat Jan 17 11:23:04 2009
New Revision: 6118
URL: http://source.netsurf-browser.org?rev=6118&view=rev
Log:
Test cases for properties 50 to 53. (All properties now have test cases.)
Modified:
trunk/libcss/test/data/parse/properties.dat
Modified: trunk/libcss/test/data/parse/properties.dat
URL:
http://source.netsurf-browser.org/trunk/libcss/test/data/parse/properties.dat?rev=6118&r1=6117&r2=6118&view=diff
==============================================================================
--- trunk/libcss/test/data/parse/properties.dat (original)
+++ trunk/libcss/test/data/parse/properties.dat Sat Jan 17 11:23:04 2009
@@ -3593,3 +3593,91 @@
| 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
_______________________________________________
netsurf-commits mailing list
[email protected]
http://vlists.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org