4 <link rel=
"stylesheet" href=
"resources/svg_tests.css">
5 <script src=
"resources/svg_canvas_helper.js"></script>
8 testRunner
.waitUntilDone();
12 <h2><a href=
"http://www.w3.org/html/wg/drafts/srcset/w3c-srcset">srcset
</a> testcases for SVG
</h2>
14 <h3>Canvas SVG without explicit dimensions -
1x
</h3>
15 <div class=
"expected">expected
<br/>
16 <img id=
"svg7" src=
"resources/srcset.svg">
18 <div class=
"actual">actual
<br/>
19 <canvas id=
"canvas1"></canvas>
21 This test should show an SVG image drawn into a canvas. The canvas and image should look the same and both should be
200x100.
<br/>
25 window
.addEventListener('load', function(){
26 drawCanvas('svg7', 'canvas1', 200, 100);
27 if (window
.testRunner
)
28 testRunner
.notifyDone();
31 <script src=
"resources/print_img_failure.js"></script>