OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <html> | 2 <link rel="stylesheet" href="resources/svg_tests.css"> |
3 <head> | 3 <h2><a href="http://www.w3.org/html/wg/drafts/srcset/w3c-srcset">srcset</a> test
cases for SVG</h2> |
4 <link rel="stylesheet" href="resources/svg_tests.css"> | 4 <div class="test"> |
5 </head> | |
6 <body> | |
7 <h2><a href="http://www.w3.org/html/wg/drafts/srcset/w3c-srcset">srcset</a> te
stcases for SVG</h2> | |
8 <div class="test"> | |
9 <h3>SVG without explicit dimensions - 2x</h3> | 5 <h3>SVG without explicit dimensions - 2x</h3> |
10 <div class="expected">expected<br/> | 6 <div class="expected">expected<br/> |
11 <img src="resources/srcset.svg" width="100" height="50"> | 7 <img src="resources/srcset.svg" width="100" height="50"> |
12 </div> | 8 </div> |
13 <div class="actual">actual<br/> | 9 <div class="actual">actual<br/> |
14 <img src="resources/srcset.svg" width="100" height="50"> | 10 <img src="resources/srcset.svg" width="100" height="50"> |
15 </div> | 11 </div> |
16 This test should show an SVG image of size 100x50, and intrinsic/natural siz
e 100x50. The left half of the image should be green and there should be a blue
circle in the center.<br/> | 12 This test should show an SVG image of size 100x50, and intrinsic/natural siz
e 100x50. The left half of the image should be green and there should be a blue
circle in the center.<br/> |
17 <br clear="all"/> | 13 <br clear="all"/> |
18 </div> | 14 </div> |
19 <div class="test"> | 15 <div class="test"> |
20 <h3>SVG with explicit dimensions - 4x</h3> | 16 <h3>SVG with explicit dimensions - 4x</h3> |
21 <div class="expected">expected<br/> | 17 <div class="expected">expected<br/> |
22 <img src="resources/srcset.svg" width="100" height="50"> | 18 <img src="resources/srcset.svg" width="100" height="50"> |
23 </div> | 19 </div> |
24 <div class="actual">actual<br/> | 20 <div class="actual">actual<br/> |
25 <img src="resources/srcset.svg" width="100" height="50"> | 21 <img src="resources/srcset.svg" width="100" height="50"> |
26 </div> | 22 </div> |
27 This test should show an SVG image of size 100x50, and intrinsic/natural siz
e 50x25. The left half of the image should be green and there should be a blue c
ircle in the center.<br/> | 23 This test should show an SVG image of size 100x50, and intrinsic/natural siz
e 50x25. The left half of the image should be green and there should be a blue c
ircle in the center.<br/> |
28 <br clear="all"/> | 24 <br clear="all"/> |
29 </div> | 25 </div> |
30 <script src="resources/print_img_failure.js"></script> | 26 <script src="resources/print_img_failure.js"></script> |
31 </body> | |
32 </html> | |
OLD | NEW |