Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / as-image / image-respects-deviceScaleFactor.html
blob63797707733cb8c53e516ebb9b946d097e2b24e0
1 <html>
2 <head>
3 <script>
4 function init() {
5 if (!window.testRunner)
6 return;
8 testRunner.waitUntilDone();
9 testRunner.setBackingScaleFactor(2, function () { testRunner.notifyDone(); });
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,<svg xmlns='http://www.w3.org/2000/svg' width='128' height='128'><circle fill='black' cx='64' cy='64' r='64' /></svg>">
16 <img style="width: 128px;" src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128'><circle fill='black' cx='64' cy='64' r='64' /></svg>">
17 </html>