| OLD | NEW |
| 1 <?xml version="1.0" standalone="no"?> | 1 <?xml version="1.0" standalone="no"?> |
| 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1
.1/DTD/svg11.dtd"> | 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1
.1/DTD/svg11.dtd"> |
| 3 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k" onload="runRepaintTest()"> | 3 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k" onload="runRepaintAndPixelTest()"> |
| 4 <script xlink:href="../../fast/repaint/resources/repaint.js"/> | 4 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/> |
| 5 <rect id="target" width="100" height="100" fill="green"/> | 5 <rect id="target" width="100" height="100" fill="green"/> |
| 6 <animate attributeName="fill" xlink:href="#target" from="red" to="red" begin="0s
" dur="1s" fill="freeze"/> | 6 <animate attributeName="fill" xlink:href="#target" from="red" to="red" begin="0s
" dur="1s" fill="freeze"/> |
| 7 <script type="text/ecmascript"> | 7 <script type="text/ecmascript"> |
| 8 <![CDATA[ | 8 <![CDATA[ |
| 9 if (window.testRunner) | 9 if (window.testRunner) |
| 10 testRunner.waitUntilDone(); | 10 testRunner.waitUntilDone(); |
| 11 | 11 |
| 12 function repaintTest() { | 12 function repaintTest() { |
| 13 setTimeout(function() { | 13 setTimeout(function() { |
| 14 document.getElementById('target').setAttribute("id", "newId"); | 14 document.getElementById('target').setAttribute("id", "newId"); |
| 15 if (window.testRunner) | 15 if (window.testRunner) |
| 16 testRunner.notifyDone(); | 16 testRunner.notifyDone(); |
| 17 }, 200); | 17 }, 200); |
| 18 } | 18 } |
| 19 ]]> | 19 ]]> |
| 20 </script> | 20 </script> |
| 21 </svg> | 21 </svg> |
| OLD | NEW |