chromium/third_party/blink/web_tests/css3/filters/filter-repaint-feimage.html

<!DOCTYPE html>
<!--
    This test verifies that fetile is repainted covering the entire filter
    region.
-->
<script src="../../resources/run-after-layout-and-paint.js"></script>
<script>
    function repaintTest()
    {
        runAfterLayoutAndPaint(function() {
            document.getElementById('div').classList.add('filtered');
        }, true);
    }
</script>
<style>
    div {
        margin: 50px;
        height: 100px;
        width: 100px;
        background-color: green;
    }

    .filtered {
        filter: url(#fetile);
    }
</style>
<body onload="repaintTest()">
    This test passes if there is no underinvalidation below and the result is a borderless green square.<br>
    <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="0" height="0">
        <defs>
            <filter id="fetile">
                <feImage xlink:href="../../images/resources/green-100.png" />
            </filter>
        </defs>
    </svg>
    <div id="div"></div>
</body>