| <?xml version="1.0" standalone="no"?> |
| <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> |
| <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintTest()"> |
| <script xlink:href="../../fast/repaint/resources/repaint.js"/> |
| <rect width="100" height="100" fill="green"/> |
| <rect id="target" width="100" height="100" fill="red"/> |
| <animate attributeName="fill" xlink:href="#target" from="red" to="green" dur="1s" fill="freeze"/> |
| <script type="text/ecmascript"> |
| <![CDATA[ |
| if (window.testRunner) |
| testRunner.waitUntilDone(); |
| |
| function repaintTest() { |
| setTimeout(function() { |
| document.getElementsByTagName("svg")[0].removeChild(document.getElementById('target')); |
| if (window.testRunner) |
| testRunner.notifyDone(); |
| }, 200); |
| } |
| ]]> |
| </script> |
| </svg> |