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:100px; | 5 width:100px; |
7 height:100px; | 6 height:100px; |
8 border-width: 10px; | 7 border-width: 10px; |
9 -webkit-border-image: -webkit-image-set(url('resources/blue-100-px-squar
e.png') 1x, url('resources/green-400-px-square.png') 2x) 10 10 10 10 stretch str
etch; | 8 -webkit-border-image: -webkit-image-set(url('resources/blue-100-px-squar
e.png') 1x, url('resources/green-400-px-square.png') 2x) 10 10 10 10 stretch str
etch; |
10 } | 9 } |
11 </style> | 10 </style> |
12 </head> | 11 <div>This test passes if the div below is a blue 100px square when the deviceSca
leFactor is 1, and if it is a 100px green square when the deviceScaleFactor is 2
.</div> |
13 | 12 <div id=foo></div> |
14 <body id="body"> | |
15 <div>This test passes if the div below is a blue 100px square when the devic
eScaleFactor is 1, and if it is a 100px green square when the deviceScaleFactor
is 2.</div> | |
16 <div id=foo></div> | |
17 </body> | |
18 </html> | |
OLD | NEW |