| OLD | NEW |
| 1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
| 2 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k" onload="runRepaintAndPixelTest()"> | 2 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k" onload="runRepaintTest()"> |
| 3 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/> | 3 <script xlink:href="../../fast/repaint/resources/repaint.js"/> |
| 4 <script xlink:href="../../resources/ahem.js"/> | 4 <script xlink:href="../../resources/ahem.js"/> |
| 5 <text x="20" y="60" font-family="Ahem" font-size="50px" style="text-shadow:
200px 200px 5px red">X</text> | 5 <text x="20" y="60" font-family="Ahem" font-size="50px" style="text-shadow:
200px 200px 5px red">X</text> |
| 6 <text x="170" y="60" font-family="Ahem" font-size="50px" style="text-shadow:
200px 200px 5px red">X</text> | 6 <text x="170" y="60" font-family="Ahem" font-size="50px" style="text-shadow:
200px 200px 5px red">X</text> |
| 7 <script> | 7 <script> |
| 8 function repaintTest() { | 8 function repaintTest() { |
| 9 document.getElementsByTagName('text')[1].setAttribute("x", 171); | 9 document.getElementsByTagName('text')[1].setAttribute("x", 171); |
| 10 if (window.testRunner) | 10 if (window.testRunner) |
| 11 testRunner.notifyDone(); | 11 testRunner.notifyDone(); |
| 12 } | 12 } |
| 13 </script> | 13 </script> |
| 14 </svg> | 14 </svg> |
| OLD | NEW |