| 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 800 600" 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 800 600" onload="runRe
paintAndPixelTest()"> |
| 4 <script xlink:href="../../fast/repaint/resources/repaint.js"/> | 4 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/> |
| 5 | 5 |
| 6 <g id="content"/> | 6 <g id="content"/> |
| 7 | 7 |
| 8 <script> | 8 <script> |
| 9 var content = document.getElementById("content"); | 9 var content = document.getElementById("content"); |
| 10 | 10 |
| 11 function repaintTest() { | 11 function repaintTest() { |
| 12 if (window.testRunner) | 12 if (window.testRunner) |
| 13 testRunner.waitUntilDone(); | 13 testRunner.waitUntilDone(); |
| 14 setTimeout(createObject, 0); | 14 setTimeout(createObject, 0); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 44 | 44 |
| 45 mask.appendChild(rect); | 45 mask.appendChild(rect); |
| 46 content.appendChild(mask); | 46 content.appendChild(mask); |
| 47 | 47 |
| 48 if (window.testRunner) | 48 if (window.testRunner) |
| 49 testRunner.notifyDone(); | 49 testRunner.notifyDone(); |
| 50 } | 50 } |
| 51 </script> | 51 </script> |
| 52 | 52 |
| 53 </svg> | 53 </svg> |
| OLD | NEW |