OLD | NEW |
1 <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="
http://www.w3.org/1999/xlink" onload="runRepaintTest()"> | 1 <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="
http://www.w3.org/1999/xlink" onload="runRepaintAndPixelTest()"> |
2 <script xlink:href="../../fast/repaint/resources/repaint.js"/> | 2 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/> |
3 <script> | 3 <script> |
4 <![CDATA[ | 4 <![CDATA[ |
5 function repaintTest() { | 5 function repaintTest() { |
6 container = document.getElementById("inneruse"); | 6 container = document.getElementById("inneruse"); |
7 stop = document.getElementById("offset"); | 7 stop = document.getElementById("offset"); |
8 if (window.testRunner) | 8 if (window.testRunner) |
9 testRunner.waitUntilDone(); | 9 testRunner.waitUntilDone(); |
10 setTimeout(offset, 0); | 10 setTimeout(offset, 0); |
11 } | 11 } |
12 var turns = 5; | 12 var turns = 5; |
(...skipping 13 matching lines...) Expand all Loading... |
26 <stop offset="0" style="stop-color: green"/> | 26 <stop offset="0" style="stop-color: green"/> |
27 <stop id="offset" offset="1" style="stop-color: green"/> | 27 <stop id="offset" offset="1" style="stop-color: green"/> |
28 </linearGradient> | 28 </linearGradient> |
29 <path id="hp" d="M 0 0 L 100 0 L 100 100 L 0 100" /> | 29 <path id="hp" d="M 0 0 L 100 0 L 100 100 L 0 100" /> |
30 </defs> | 30 </defs> |
31 <g id="inneruse"> | 31 <g id="inneruse"> |
32 <use xlink:href="#hp" style="fill:url(#grad)"/> | 32 <use xlink:href="#hp" style="fill:url(#grad)"/> |
33 </g> | 33 </g> |
34 <use xlink:href="#inneruse" style="fill:url(#grad)"/> | 34 <use xlink:href="#inneruse" style="fill:url(#grad)"/> |
35 </svg> | 35 </svg> |
OLD | NEW |