Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / svg / as-image / image-respects-pageScaleFactor.html
1 <html>
2 <head>
3     <script>
4     function init() {
5         if (!window.eventSender)
6             return;
7
8         window.eventSender.setPageScaleFactor(2, 0, 0);
9     }
10     window.onload = init;
11     </script>
12 <style>
13     ::-webkit-scrollbar {
14         width: 0px;
15         height: 0px;
16     }
17 </style>
18 </head>
19 <p>This test passes if both of the circles have sharp edges.</p>
20 <p>To run manually, use full-page zoom to increase the page scale factor.</p>
21 <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>">
22 <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>">
23
24 </html>