Author: tlsa
Date: Fri Jan 16 16:48:04 2009
New Revision: 6103

URL: http://source.netsurf-browser.org?rev=6103&view=rev
Log:
Test cases for 00 property.

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=6103&r1=6102&r2=6103&view=diff
==============================================================================
--- trunk/libcss/test/data/parse/properties.dat (original)
+++ trunk/libcss/test/data/parse/properties.dat Fri Jan 16 16:48:04 2009
@@ -1,6 +1,126 @@
 ##
 ## 00 - azimuth
 ##
+
+#data
+* { azimuth: left-side; }
+#errors
+#expected
+| 1 *
+|   0x00000000
+#reset
+
+#data
+* { azimuth: far-left; }
+#errors
+#expected
+| 1 *
+|   0x00040000
+#reset
+
+#data
+* { azimuth: left; }
+#errors
+#expected
+| 1 *
+|   0x00080000
+#reset
+
+#data
+* { azimuth: center-left; }
+#errors
+#expected
+| 1 *
+|   0x000c0000
+#reset
+
+#data
+* { azimuth: center; }
+#errors
+#expected
+| 1 *
+|   0x00100000
+#reset
+
+#data
+* { azimuth: center-right; }
+#errors
+#expected
+| 1 *
+|   0x00140000
+#reset
+
+#data
+* { azimuth: right; }
+#errors
+#expected
+| 1 *
+|   0x00180000
+#reset
+
+#data
+* { azimuth: far-right; }
+#errors
+#expected
+| 1 *
+|   0x001c0000
+#reset
+
+#data
+* { azimuth: right-side; }
+#errors
+#expected
+| 1 *
+|   0x00200000
+#reset
+
+#data
+* { azimuth: leftwards; }
+#errors
+#expected
+| 1 *
+|   0x01000000
+#reset
+
+#data
+* { azimuth: rightwards; }
+#errors
+#expected
+| 1 *
+|   0x01040000
+#reset
+
+#data
+* { azimuth: 45deg; }
+#errors
+#expected
+| 1 *
+|   0x02000000 0x0000b400 0x00000200
+#reset
+
+#data
+* { azimuth: -45deg; }
+#errors
+#expected
+| 1 *
+|   0x02000000 0xffff4c00 0x00000200
+#reset
+
+#data
+* { azimuth: 50grad; }
+#errors
+#expected
+| 1 *
+|   0x02000000 0x0000c800 0x00000201
+#reset
+
+#data
+* { azimuth: 0.785rad; }
+#errors
+#expected
+| 1 *
+|   0x02000000 0x00000323 0x00000202
+#reset
 
 ##
 ## 01 - background-attachment


_______________________________________________
netsurf-commits mailing list
[email protected]
http://vlists.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to