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

Side by Side 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 unified diff | Download patch
OLDNEW
1 <head> 1 <head>
2 <style> 2 <style>
3 #a { content: url(c); } 3 #a { content: url(c); }
4 #b { content: url( d); } 4 #b { content: url( d); }
5 #c { content: url(e ); } 5 #c { content: url(e ); }
6 #d { content: url( f ); } 6 #d { content: url( f ); }
7 #f { content: url('c'); } 7 #f { content: url('c'); }
8 #g { content: url(' d'); } 8 #g { content: url(' d'); }
9 #h { content: url('e '); } 9 #h { content: url('e '); }
10 #i { content: url(' f '); } 10 #i { content: url(' f '); }
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 <p>Test parsing of CSS URI tokens. Older versions of WebKit did some double proc essing of these, hence this test would have failed.</p> 71 <p>Test parsing of CSS URI tokens. Older versions of WebKit did some double proc essing of these, hence this test would have failed.</p>
72 72
73 <p id="message">TEST DID NOT COMPLETE</p> 73 <p id="message">TEST DID NOT COMPLETE</p>
74 74
75 <p>Rules from the stylesheet:</p> 75 <p>Rules from the stylesheet:</p>
76 76
77 <pre id="result"></pre> 77 <pre id="result"></pre>
78 78
79 <p>Expected result:</p> 79 <p>Expected result:</p>
80 80
81 <pre id="expected">#a { content: url(c); } 81 <pre id="expected">
82 #a { content: url(c); }
82 #b { content: url(d); } 83 #b { content: url(d); }
83 #c { content: url(e); } 84 #c { content: url(e); }
84 #d { content: url(f); } 85 #d { content: url(f); }
85 #f { content: url(c); } 86 #f { content: url(c); }
86 #g { content: url(d); } 87 #g { content: url(' d'); }
87 #h { content: url(e); } 88 #h { content: url('e '); }
88 #i { content: url(f); } 89 #i { content: url(' f '); }
89 #j { content: url('url(g)'); } 90 #j { content: url('url(g)'); }
90 #l { content: url(c); } 91 #l { content: url(c); }
91 #m { content: url(d); } 92 #m { content: url(' d'); }
92 #n { content: url(e); } 93 #n { content: url('e '); }
93 #o { content: url(f); } 94 #o { content: url(' f '); }
94 #p { content: url('url(g)'); } 95 #p { content: url('url(g)'); }
95 #q { cursor: url('url(q)'), pointer; } 96 #q { cursor: url('url(q)'), pointer; }
96 #r { list-style-image: url('url(r)'); } 97 #r { list-style-image: url('url(r)'); }
97 #s { background-image: url('url(s)'); } 98 #s { background-image: url('url(s)'); }
98 #t { -webkit-mask-image: url('url(t)'); } 99 #t { -webkit-mask-image: url('url(t)'); }
99 #u { -webkit-border-image: url('url(u)') 1 2 3 4 fill stretch round; } 100 #u { -webkit-border-image: url('url(u)') 1 2 3 4 fill stretch round; }
100 #v { -webkit-mask-box-image-source: url('url(v)'); } 101 #v { -webkit-mask-box-image-source: url('url(v)'); }
101 #w { content: url(ww); } 102 #w { content: url('w\\d w'); }
102 #x { content: url(x%20xx); } 103 #x { content: url(' x x\\9 x '); }
103 #y { content: url(y%20yy); } 104 #y { content: url('y y\\9 y'); }
104 </pre> 105 </pre>
105 106
106 <script> 107 <script>
107 108
108 </script> 109 </script>
109 </body> 110 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698