Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / non-scaling-stroke-update.svg
blobcc47a265f703c79b542dd0a858e14e0a0ca3feeb
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
2 <!-- Test for crbug.com/250001 -->
3 <g transform="scale(4)">
4 <rect id="clear_rect" width="100%" height="100%"/>
5 <rect id="rect" x="25" y="25" width="25" height="25" fill="green" stroke-width="1" stroke="black"/>
6 </g>
8 <script>
9 if (window.testRunner) {
10 testRunner.waitUntilDone();
12 window.requestAnimationFrame(function() {
13 setTimeout(runTest, 0);
14 });
16 function runTest() {
17 document.getElementById('clear_rect').setAttribute('fill', 'white');
18 document.getElementById('rect').setAttribute('vector-effect', 'non-scaling-stroke');
19 if (window.testRunner)
20 testRunner.notifyDone();
22 </script>
23 </svg>