Author: tlsa
Date: Tue Jan 20 06:04:20 2009
New Revision: 6152

URL: http://source.netsurf-browser.org?rev=6152&view=rev
Log:
Tests for CSS comments. (Some test data may be wrong here. I'm not absolutly 
certain what's valid.)

Added:
    trunk/libcss/test/data/parse2/comments.dat

Added: trunk/libcss/test/data/parse2/comments.dat
URL: 
http://source.netsurf-browser.org/trunk/libcss/test/data/parse2/comments.dat?rev=6152&view=auto
==============================================================================
--- trunk/libcss/test/data/parse2/comments.dat (added)
+++ trunk/libcss/test/data/parse2/comments.dat Tue Jan 20 06:04:20 2009
@@ -1,0 +1,60 @@
+#data
+/**/* /* 2 *//*3*/ {/*4*/ background-attachment:/*5*/ fixed/**/;/*7*/ }
+#errors
+#expected
+| *
+|  background-attachment: fixed
+#reset
+
+#data
+/**/* /* } *//*3*/ {/*;*/ background-attachment/* display: */:/*6}*/ 
scroll/**/;/*8*/ }
+#errors
+#expected
+| *
+|  background-attachment: scroll
+#reset
+
+#data
+/**/* /* 2 *//*3*/ {/*4*/ background-attachment:/*5*/ fixed/**/;/*7*/ 
speech-rate: /*/*/*/*/*/**/ medium; }
+#errors
+#expected
+| *
+|  background-attachment: fixed
+|  speech-rate: medium
+#reset
+
+#data
+* {/* stress:100; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* /*{ stress:100; }
+#errors
+#expected
+| *
+#reset
+
+#data
+*/* { stress:100; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { stress:/*100; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { stress:100/*; }
+#errors
+#expected
+| *
+|  stress: 100
+#reset


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

Reply via email to