blob: 11205a1233dfb5fdfc34e2d793f5f37eca4bc513 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<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>There should be a single green 100x100 square.</title>
<defs>
<rect id="rect" x="-50" width="100" height="100" fill="green"/>
<use xlink:href="#rect" id="use"/>
<filter id="filter">
<feImage id="feimage" xlink:href="#use"/>
</filter>
</defs>
<rect x="0" y="0" width="100" height="100" filter="url(#filter)" />
<script>
<![CDATA[
function repaintTest() {
document.getElementById("use").setAttribute("x", "50");
}
]]>
</script>
</svg>