blob: 48d52445ef8c61bc6882e62c353599d73d1138b8 [file] [log] [blame]
<?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 id="target" width="100" height="100" fill="green"/>
<animate attributeName="fill" xlink:href="#target" from="red" to="red" begin="0s" dur="1s" fill="freeze"/>
<script type="text/ecmascript">
<![CDATA[
if (window.testRunner)
testRunner.waitUntilDone();
function repaintTest() {
setTimeout(function() {
document.getElementById('target').setAttribute("id", "newId");
if (window.testRunner)
testRunner.notifyDone();
}, 200);
}
]]>
</script>
</svg>