4 <link rel="stylesheet" href="resources/svg_tests.css">
7 <h2><a href="http://www.w3.org/html/wg/drafts/srcset/w3c-srcset">srcset</a> testcases for SVG</h2>
9 <h3>PNG without explicit dimensions - 1x</h3>
10 <div class="expected">expected<br/>
11 <img src="resources/srcset.png" width="200" height="100">
13 <div class="actual">actual<br/>
14 <img src="resources/srcset.png" width="200" height="100">
16 This test should show a PNG image of size 200x100, and intrinsic/natural size 200x100. The left half of the image should be red and there should be a black circle in the center.<br/>
17 <code class="stats" id="code5"></code>
21 <h3>PNG with explicit dimensions - 1x</h3>
22 <div class="expected">expected<br/>
23 <img src="resources/srcset.png" width="100" height="50">
25 <div class="actual">actual<br/>
26 <img src="resources/srcset.png" width="100" height="50">
28 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 circle in the center.<br/>
29 <code class="stats" id="code6"></code>
33 <h3>PNG without explicit dimensions - 2x</h3>
34 <div class="expected">expected<br/>
35 <img src="resources/srcset.png" width="100" height="50">
37 <div class="actual">actual<br/>
38 <img src="resources/srcset.png" width="100" height="50">
40 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 circle in the center.<br/>
41 <code class="stats" id="code7"></code>
45 <h3>PNG with explicit dimensions - 4x</h3>
46 <div class="expected">expected<br/>
47 <img src="resources/srcset.png" width="100" height="50">
49 <div class="actual">actual<br/>
50 <img src="resources/srcset.png" width="100" height="50">
52 This test should show a PNG image of size 100x50, and intrinsic/natural size 50x25. The left half of the image should be red and there should be a black circle in the center.<br/>
53 <code class="stats" id="code8"></code>
56 <script src="resources/print_img_failure.js"></script>