OLD | NEW |
1 <html> | 1 <!DOCTYPE html> |
2 <head> | |
3 <script src="resources/srcset-helper.js"></script> | 2 <script src="resources/srcset-helper.js"></script> |
4 <style> | 3 <style> |
5 #foo { | 4 #foo { |
6 width:90px; | 5 width:90px; |
7 height:90px; | 6 height:90px; |
8 background-image: -webkit-image-set(url('resources/deleteButton.png') 1x
, url('resources/deleteButton-2x.png') 2x); | 7 background-image: -webkit-image-set(url('resources/deleteButton.png') 1x
, url('resources/deleteButton-2x.png') 2x); |
9 background-repeat: repeat; | 8 background-repeat: repeat; |
10 background-size: 30px 30px; | 9 background-size: 30px 30px; |
11 } | 10 } |
12 </style> | 11 </style> |
13 </head> | 12 <div>This test passes if the div below contains 9 evenly spaced delete buttons,
and if the high resolution resource is used when the deviceScaleFactor is 2.</di
v> |
14 | 13 <div id=foo></div> |
15 <body id="body"> | |
16 <div>This test passes if the div below contains 9 evenly spaced delete butto
ns, and if the high resolution resource is used when the deviceScaleFactor is 2.
</div> | |
17 <div id=foo></div> | |
18 </body> | |
19 </html> | |
OLD | NEW |