chromium/third_party/blink/web_tests/paint/invalidation/svg/feImage-reference-invalidation.svg

<?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 square.</title>
    <defs>
        <rect id="rect" width="100" height="100" fill="red" />
        <rect id="rect2" width="100" height="100" fill="green" />
        
        <filter id="image">
            <feImage id="feimage" xlink:href="#rect" />
        </filter>
    </defs>
    <rect x="0" y="0" width="100" height="100" filter="url(#image)" />
    <script>
    <![CDATA[
        function repaintTest() {
            document.getElementById("feimage").setAttributeNS("http://www.w3.org/1999/xlink", "href", "#rect2");
        }
    ]]>
    </script>
</svg>