blob: cdac7535f9a14174a57d486c02e4268f40980a1b [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.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" type="text/javascript"></script>
<script type="text/javascript">
function repaintTest() {
if (window.testRunner)
testRunner.waitUntilDone();
// Run a part of the animation timeline, so we're sure that we're removing the animation element while it's active!
setTimeout(function() {
var an1 = document.getElementById('an1');
an1.parentNode.removeChild(an1);
if (window.testRunner)
testRunner.notifyDone();
}, 100);
}
</script>
<rect x='0' y='0' width='50' height='50' fill='green'>
<animate id="an1" attributeName='x' from='50' to='150' begin='0s' dur='2s' fill='freeze'/>
</rect>
</svg>