| <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintTest()"> |
| <script xlink:href="../../fast/repaint/resources/repaint.js"/> |
| container = document.getElementById("inneruse"); |
| stop = document.getElementById("offset"); |
| testRunner.waitUntilDone(); |
| container.setAttribute ("transform", ""); |
| stop.setAttribute ("offset", "1.0"); |
| window.setTimeout("offset()", 0) |
| else if (window.testRunner) |
| <linearGradient id="grad"> |
| <stop offset="0" style="stop-color: green"/> |
| <stop id="offset" offset="1" style="stop-color: green"/> |
| <path id="hp" d="M 0 0 L 100 0 L 100 100 L 0 100" /> |
| <use xlink:href="#hp" style="fill:url(#grad)"/> |
| <use xlink:href="#inneruse" style="fill:url(#grad)"/> |