| 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 <text font-size="60" fill="navy" clip-path="url(#dynClip)" x="10" y="70">Cl
ipped. INVISIBLE.</text> | 6 <text font-size="60" fill="navy" clip-path="url(#dynClip)" x="10" y="70">Cl
ipped. INVISIBLE.</text> |
| 7 </g> | 7 </g> |
| 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(createClipPath, 0); | 14 setTimeout(createClipPath, 0); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 clipPath.appendChild(path); | 26 clipPath.appendChild(path); |
| 27 content.appendChild(clipPath); | 27 content.appendChild(clipPath); |
| 28 | 28 |
| 29 if (window.testRunner) | 29 if (window.testRunner) |
| 30 testRunner.notifyDone(); | 30 testRunner.notifyDone(); |
| 31 } | 31 } |
| 32 </script> | 32 </script> |
| 33 | 33 |
| 34 </svg> | 34 </svg> |
| OLD | NEW |