e0c14cce61f0ea6f3d38bb20e25bb1d84e1e7a74
[WebKit-https.git] / LayoutTests / svg / as-image / image-respects-deviceScaleFactor.html
1 <html>
2 <head>
3     <script>
4     function init() {
5         if (!window.testRunner)
6             return;
7
8         testRunner.waitUntilDone();
9         testRunner.setBackingScaleFactor(2, function () { testRunner.notifyDone(); });
10     }
11     window.onload = init;
12     </script>
13 </head>
14 <p>This test passes if both of the circles have sharp edges when deviceScaleFactor=2.</p>
15 <img style="width: 128px;" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjgiIGhlaWdodD0iMTI4Ij4KPGNpcmNsZSBmaWxsPSJibGFjayIgY3g9IjY0IiBjeT0iNjQiIHI9IjY0IiAvPgo8L3N2Zz4K">
16 <img style="width: 128px;" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgoJPGNpcmNsZSBmaWxsPSJibGFjayIgY3g9IjY0IiBjeT0iNjQiIHI9IjY0IiAvPgo8L3N2Zz4=">
17 </html>