| 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 <rect x="0" y="100" width="800" height="100" fill="blue" mask="url(#dynMask)"/> | 6 <rect x="0" y="100" width="800" height="100" fill="blue" mask="url(#dynMask)"/> |
| 7 <g id="content"/> | 7 <g id="content"/> |
| 8 | 8 |
| 9 <script> | 9 <script> |
| 10 var content = document.getElementById("content"); | 10 var content = document.getElementById("content"); |
| 11 | 11 |
| 12 function repaintTest() { | 12 function repaintTest() { |
| 13 if (window.testRunner) | 13 if (window.testRunner) |
| 14 testRunner.waitUntilDone(); | 14 testRunner.waitUntilDone(); |
| (...skipping 17 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 mask.appendChild(rect); | 33 mask.appendChild(rect); |
| 34 content.appendChild(mask); | 34 content.appendChild(mask); |
| 35 | 35 |
| 36 if (window.testRunner) | 36 if (window.testRunner) |
| 37 testRunner.notifyDone(); | 37 testRunner.notifyDone(); |
| 38 } | 38 } |
| 39 </script> | 39 </script> |
| 40 | 40 |
| 41 </svg> | 41 </svg> |
| OLD | NEW |