OLD | NEW |
1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics
/SVG/1.1/DTD/svg11-basic.dtd"> | 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics
/SVG/1.1/DTD/svg11-basic.dtd"> |
3 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" onload="runRe
paintTest()"> | 3 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" onload="runRe
paintAndPixelTest()"> |
4 <script xlink:href="../../fast/repaint/resources/repaint.js"/> | 4 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/> |
5 <g id="content"/> | 5 <g id="content"/> |
6 | 6 |
7 <script> | 7 <script> |
8 var content = document.getElementById("content"); | 8 var content = document.getElementById("content"); |
9 | 9 |
10 function repaintTest() { | 10 function repaintTest() { |
11 if (window.testRunner) | 11 if (window.testRunner) |
12 testRunner.waitUntilDone(); | 12 testRunner.waitUntilDone(); |
13 setTimeout(createGradients, 0); | 13 setTimeout(createGradients, 0); |
14 } | 14 } |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 text3.appendChild(document.createTextNode("Gradient on fill/stroke")); | 86 text3.appendChild(document.createTextNode("Gradient on fill/stroke")); |
87 | 87 |
88 content.appendChild(text3); | 88 content.appendChild(text3); |
89 | 89 |
90 if (window.testRunner) | 90 if (window.testRunner) |
91 testRunner.notifyDone(); | 91 testRunner.notifyDone(); |
92 } | 92 } |
93 </script> | 93 </script> |
94 | 94 |
95 </svg> | 95 </svg> |
OLD | NEW |