Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / hidpi / image-set-as-background.html
blob4f678c389943926b2ad5c37d7ff7ab06f427238f
1 <html>
2 <head>
3 <script src="resources/srcset-helper.js"></script>
4 <style>
5 #foo {
6 width:100px;
7 height:100px;
8 background-image: -webkit-image-set(url('resources/blue-100-px-square.png') 1x, url('resources/green-400-px-square.png') 2x);
10 </style>
11 </head>
13 <body id="body">
14 <div>This test passes if the div below is a blue 100px square when the deviceScaleFactor is 1, and if it is a 100px green square when the deviceScaleFactor is 2.</div>
15 <div id=foo></div>
16 </body>
17 </html>