Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / backgrounds / background-shorthand-multiple-layers.html
blob4a48f0a961f989d055ec75d90b1fe2d37569889c
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 multiple layers is correct.");
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'")
12 </script>
13 </body>
14 </html>