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" transform="scale(1, 1.5)"/> | 5 <g id="content" transform="scale(1, 1.5)"/> |
6 <script> | 6 <script> |
7 var content = document.getElementById("content"); | 7 var content = document.getElementById("content"); |
8 function repaintTest() { | 8 function repaintTest() { |
9 if (window.testRunner) | 9 if (window.testRunner) |
10 testRunner.waitUntilDone(); | 10 testRunner.waitUntilDone(); |
11 setTimeout(createObject, 0); | 11 setTimeout(createObject, 0); |
12 } | 12 } |
13 | 13 |
14 function createObject() | 14 function createObject() |
(...skipping 22 matching lines...) Expand all Loading... |
37 | 37 |
38 clipPath.appendChild(path); | 38 clipPath.appendChild(path); |
39 content.appendChild(clipPath); | 39 content.appendChild(clipPath); |
40 | 40 |
41 if (window.testRunner) | 41 if (window.testRunner) |
42 testRunner.notifyDone(); | 42 testRunner.notifyDone(); |
43 } | 43 } |
44 </script> | 44 </script> |
45 | 45 |
46 </svg> | 46 </svg> |
OLD | NEW |