blob: c7bf74e2fcae2f9e4b1a9244822a5a834deb2238 [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="runRepaintAndPixelTest()">
<script xlink:href="../resources/text-based-repaint.js"></script>
<title>There should be a single green 100x100 square.</title>
<defs>
<rect id="rect" width="100" height="100" fill="green"/>
<filter id="filter">
<feImage id="feimage" xlink:href="#notexistant" />
</filter>
</defs>
<rect x="0" y="0" width="100" height="100" filter="url(#filter)" />
<script>
<![CDATA[
function repaintTest() {
document.getElementById("feimage").setAttributeNS("http://www.w3.org/1999/xlink", "href", "#rect");
}
]]>
</script>
</svg>