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 - 1x</h3> | 6 <h3>PNG without explicit dimensions - 1x</h3> |
11 <div class="expected">expected<br/> | 7 <div class="expected">expected<br/> |
12 <img src="resources/srcset.png" width="200" height="100"> | 8 <img src="resources/srcset.png" width="200" height="100"> |
13 </div> | 9 </div> |
14 <div class="actual">actual<br/> | 10 <div class="actual">actual<br/> |
15 <img id="png1" src="resources/srcset.png"> | 11 <img id="png1" src="resources/srcset.png"> |
16 </div> | 12 </div> |
17 This test should show a PNG image of size 200x100, and intrinsic/natural siz
e 200x100. The left half of the image should be red and there should be a black
circle in the center.<br/> | 13 This test should show a PNG image of size 200x100, and intrinsic/natural siz
e 200x100. The left half of the image should be red and there should be a black
circle in the center.<br/> |
18 <br clear="all"/> | 14 <br clear="all"/> |
19 </div> | 15 </div> |
20 </body> | |
21 </html> | |
OLD | NEW |