| <!DOCTYPE html> |
| <html> |
| <head> |
| <title>SVG stroke-width should not scale with page zoom</title> |
| <link rel="match" href="zoom-stroke-width-expected.html"> |
| <style> |
| body { margin: 0; } |
| </style> |
| </head> |
| <body> |
| <svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"> |
| <rect x="10" y="10" width="80" height="80" fill="none" stroke="black" stroke-width="2"/> |
| </svg> |
| |
| <script> |
| if (window.testRunner) |
| testRunner.waitUntilDone(); |
| |
| if (window.internals) |
| internals.setPageZoomFactor(2); |
| |
| requestAnimationFrame(function() { |
| if (window.testRunner) |
| testRunner.notifyDone(); |
| }); |
| </script> |
| </body> |
| </html> |