| OLD | NEW |
| 1 <svg onload="runRepaintTest()" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="h
ttp://www.w3.org/1999/xlink" version="1.1" width="600" height="500"> | 1 <svg onload="runRepaintTest()" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="h
ttp://www.w3.org/1999/xlink" version="1.1" width="600" height="500"> |
| 2 <script xlink:href="../../fast/repaint/resources/repaint.js"></script> | 2 <script xlink:href="../../fast/repaint/resources/repaint.js"></script> |
| 3 <title>There should be a sentence of text visible at 200,200.</title> | 3 <title>There should be a sentence of text visible at 200,200.</title> |
| 4 <text y="100"><tspan id="ts" x="20" y="20">This text should be at visible at
200,200</tspan></text> | 4 <text y="100"><tspan id="ts" x="20" y="20">This text should be at visible at
200,200</tspan></text> |
| 5 <script> | 5 <script> |
| 6 function repaintTest() | 6 function repaintTest() |
| 7 { | 7 { |
| 8 document.getElementById("ts").setAttribute("x", 200); | 8 document.getElementById("ts").setAttribute("x", 200); |
| 9 document.getElementById("ts").setAttribute("y", 200); | 9 document.getElementById("ts").setAttribute("y", 200); |
| 10 } | 10 } |
| 11 </script> | 11 </script> |
| 12 </svg> | 12 </svg> |
| OLD | NEW |