blob: 3a74899c7eec1718441926f47acf8778e72b3d9c [file] [log] [blame]
<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"></script>
<title>The rectangle should rapidly animate to green.</title>
<defs>
<filter id="filt">
<feOffset />
</filter>
</defs>
<rect id="rect" width="100px" height="100px" x="0" y="0" fill="red" filter="url(#filt)" />
<script>
function repaintTest() {
document.getElementById('rect').setAttribute('fill', 'green');
}
</script>
</svg>