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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/backgrounds/background-shorthand-multiple-layers.html

Issue 1363233003: Make sure <url>s are being serialized according to spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix interpolation tests Created 5 years, 2 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <style>#test { background: url(dummy://foo), red url(dummy://bar); }</style> 3 <style>#test { background: url(dummy://foo), red url(dummy://bar); }</style>
4 <script src="../../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 <div id="test"> </div> 5 <div id="test"> </div>
6 <script> 6 <script>
7 description("Tests that serialization of background shorthand property with mult iple layers is correct."); 7 description("Tests that serialization of background shorthand property with mult iple layers is correct.");
8 8
9 var e = document.getElementById('test'); 9 var e = document.getElementById('test');
10 shouldBe("getComputedStyle(e).background", "'url(dummy://foo) repeat scroll 0% 0 % / auto padding-box border-box, rgb(255, 0, 0) url(dummy://bar) repeat scroll 0 % 0% / auto padding-box border-box'") 10 shouldBeEqualToString("getComputedStyle(e).background", 'url("dummy://foo") repe at scroll 0% 0% / auto padding-box border-box, rgb(255, 0, 0) url("dummy://bar") repeat scroll 0% 0% / auto padding-box border-box')
11 11
12 </script> 12 </script>
13 </body> 13 </body>
14 </html> 14 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698