Title: [98366] trunk/LayoutTests
Revision
98366
Author
zherc...@webkit.org
Date
2011-10-25 11:24:04 -0700 (Tue, 25 Oct 2011)

Log Message

Add new uri tokenizer tests
https://bugs.webkit.org/show_bug.cgi?id=70807

Reviewed by Darin Adler.

Test more cases!

* fast/css/uri-token-parsing-expected.txt:
* fast/css/uri-token-parsing.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (98365 => 98366)


--- trunk/LayoutTests/ChangeLog	2011-10-25 18:17:37 UTC (rev 98365)
+++ trunk/LayoutTests/ChangeLog	2011-10-25 18:24:04 UTC (rev 98366)
@@ -1,3 +1,15 @@
+2011-10-25  Zoltan Herczeg  <zherc...@webkit.org>
+
+        Add new uri tokenizer tests
+        https://bugs.webkit.org/show_bug.cgi?id=70807
+
+        Reviewed by Darin Adler.
+
+        Test more cases!
+
+        * fast/css/uri-token-parsing-expected.txt:
+        * fast/css/uri-token-parsing.html:
+
 2011-10-25  Julien Chaffraix  <jchaffr...@webkit.org>
 
         Unreviewed gardening.

Modified: trunk/LayoutTests/fast/css/uri-token-parsing-expected.txt (98365 => 98366)


--- trunk/LayoutTests/fast/css/uri-token-parsing-expected.txt	2011-10-25 18:17:37 UTC (rev 98365)
+++ trunk/LayoutTests/fast/css/uri-token-parsing-expected.txt	2011-10-25 18:24:04 UTC (rev 98366)
@@ -24,6 +24,9 @@
 #t { -webkit-mask-image: url('url(t)'); }
 #u { -webkit-border-image: url('url(u)') 1 2 3 4 fill stretch round; }
 #v { -webkit-mask-box-image: url('url(v)') 1 2 3 4 fill stretch round; }
+#w { content: url(ww); }
+#x { content: url(x%20xx); }
+#y { content: url(y%20yy); }
 Expected result:
 
 #a { content: url(c); }
@@ -46,4 +49,7 @@
 #t { -webkit-mask-image: url('url(t)'); }
 #u { -webkit-border-image: url('url(u)') 1 2 3 4 fill stretch round; }
 #v { -webkit-mask-box-image: url('url(v)') 1 2 3 4 fill stretch round; }
+#w { content: url(ww); }
+#x { content: url(x%20xx); }
+#y { content: url(y%20yy); }
 

Modified: trunk/LayoutTests/fast/css/uri-token-parsing.html (98365 => 98366)


--- trunk/LayoutTests/fast/css/uri-token-parsing.html	2011-10-25 18:17:37 UTC (rev 98365)
+++ trunk/LayoutTests/fast/css/uri-token-parsing.html	2011-10-25 18:24:04 UTC (rev 98366)
@@ -20,6 +20,10 @@
 #t { -webkit-mask-image: url("url(t)"); }
 #u { -webkit-border-image: url("url(u)") 1 2 3 4 fill stretch round; }
 #v { -webkit-mask-box-image: url("url(v)") 1 2 3 4 fill stretch round; }
+#w { content: url("w\0d\
+w"); /* URL string contains twice newline */ }
+#x { content: url(" x x	x "); } /* URL string contains space and tab */
+#y { content: url( y\20y\9y ); } /* URL string contains space and tab */
 </style>
 
 <script>
@@ -94,6 +98,9 @@
 #t { -webkit-mask-image: url('url(t)'); }
 #u { -webkit-border-image: url('url(u)') 1 2 3 4 fill stretch round; }
 #v { -webkit-mask-box-image: url('url(v)') 1 2 3 4 fill stretch round; }
+#w { content: url(ww); }
+#x { content: url(x%20xx); }
+#y { content: url(y%20yy); }
 </pre>
 
 <script>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to