Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(439)

Unified Diff: LayoutTests/fast/css/uri-token-parsing.html

Issue 1306283006: BackgroundImage incorrectly returns empty url() when created on-the-fly (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/css/uri-token-parsing.html
diff --git a/LayoutTests/fast/css/uri-token-parsing.html b/LayoutTests/fast/css/uri-token-parsing.html
index d3f09b93fdc04afa9c2acb4f9412ac638fe32096..16397fd19464554e542a882d60ebaae16edc8ef5 100644
--- a/LayoutTests/fast/css/uri-token-parsing.html
+++ b/LayoutTests/fast/css/uri-token-parsing.html
@@ -78,19 +78,20 @@ function runTest()
<p>Expected result:</p>
-<pre id="expected">#a { content: url(c); }
+<pre id="expected">
+#a { content: url(c); }
#b { content: url(d); }
#c { content: url(e); }
#d { content: url(f); }
#f { content: url(c); }
-#g { content: url(d); }
-#h { content: url(e); }
-#i { content: url(f); }
+#g { content: url(' d'); }
+#h { content: url('e '); }
+#i { content: url(' f '); }
#j { content: url('url(g)'); }
#l { content: url(c); }
-#m { content: url(d); }
-#n { content: url(e); }
-#o { content: url(f); }
+#m { content: url(' d'); }
+#n { content: url('e '); }
+#o { content: url(' f '); }
#p { content: url('url(g)'); }
#q { cursor: url('url(q)'), pointer; }
#r { list-style-image: url('url(r)'); }
@@ -98,9 +99,9 @@ function runTest()
#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-source: url('url(v)'); }
-#w { content: url(ww); }
-#x { content: url(x%20xx); }
-#y { content: url(y%20yy); }
+#w { content: url('w\\d w'); }
+#x { content: url(' x x\\9 x '); }
+#y { content: url('y y\\9 y'); }
</pre>
<script>

Powered by Google App Engine
This is Rietveld 408576698