Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / hidpi / image-srcset-svg-canvas-2x-expected.html
blobc86005cb6b2a3bb83f1e1846e40394a8d3a275ff
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <link rel="stylesheet" href="resources/svg_tests.css">
5 <script src="resources/svg_canvas_helper.js"></script>
6 <script>
7 if (window.testRunner)
8 testRunner.waitUntilDone();
9 </script>
10 </head>
11 <body>
12 <h2><a href="http://www.w3.org/html/wg/drafts/srcset/w3c-srcset">srcset</a> testcases for SVG</h2>
13 <div class="test">
14 <h3>Canvas SVG without explicit dimensions - 2x</h3>
15 <div class="expected">expected<br/>
16 <img id="svg8" src="resources/srcset_100px.svg">
17 </div>
18 <div class="actual">actual<br/>
19 <canvas id="canvas2"></canvas>
20 </div>
21 This test should show an SVG image drawn into a canvas. The canvas and image should look the same and both should be 100x50.<br/>
22 <br clear="all"/>
23 </div>
24 <script>
25 window.addEventListener('load', function(){
26 drawCanvas('svg8', 'canvas2', 100, 50);
27 if (window.testRunner)
28 testRunner.notifyDone();
29 });
30 </script>
31 <script src="resources/print_img_failure.js"></script>
32 </body>
33 </html>