| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <html> | 2 <link rel="stylesheet" href="resources/svg_tests.css"> |
| 3 <head> | 3 <script src="resources/svg_canvas_helper.js"></script> |
| 4 <link rel="stylesheet" href="resources/svg_tests.css"> | 4 <h2><a href="http://www.w3.org/html/wg/drafts/srcset/w3c-srcset">srcset</a> test
cases for SVG</h2> |
| 5 <script src="resources/svg_canvas_helper.js"></script> | 5 <div class="test"> |
| 6 </head> | |
| 7 <body> | |
| 8 <h2><a href="http://www.w3.org/html/wg/drafts/srcset/w3c-srcset">srcset</a> te
stcases for SVG</h2> | |
| 9 <div class="test"> | |
| 10 <h3>PNG without explicit dimensions - 2x</h3> | 6 <h3>PNG without explicit dimensions - 2x</h3> |
| 11 <div class="expected">expected<br/> | 7 <div class="expected">expected<br/> |
| 12 <img src="resources/srcset.png" width="100" height="50"> | 8 <img src="resources/srcset.png" width="100" height="50"> |
| 13 </div> | 9 </div> |
| 14 <div class="actual">actual<br/> | 10 <div class="actual">actual<br/> |
| 15 <img id="png3" src="" srcset="resources/srcset.png 2x"> | 11 <img id="png3" src="" srcset="resources/srcset.png 2x"> |
| 16 </div> | 12 </div> |
| 17 This test should show a PNG image of size 100x50, and intrinsic/natural size
100x50. The left half of the image should be red and there should be a black ci
rcle in the center.<br/> | 13 This test should show a PNG image of size 100x50, and intrinsic/natural size
100x50. The left half of the image should be red and there should be a black ci
rcle in the center.<br/> |
| 18 <br clear="all"/> | 14 <br clear="all"/> |
| 19 </div> | 15 </div> |
| 20 </body> | |
| 21 </html> | |
| OLD | NEW |