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

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

Issue 879993003: Fix serialization of background property with multiple layers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add test Created 5 years, 10 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
« no previous file with comments | « no previous file | LayoutTests/fast/backgrounds/background-shorthand-multiple-layers-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <style>#test { background: url(dummy://foo), red url(dummy://bar); }</style>
4 <script src="../../resources/js-test.js"></script>
5 <div id="test"> </div>
6 <script>
7 description("Tests that serialization of background shorthand property with mult iple layers is correct.");
8
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'")
11
12 </script>
13 </body>
14 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/backgrounds/background-shorthand-multiple-layers-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698