blob: a7c5e30e8262a93d285c3723d2e8e3878449d063 [file] [log] [blame]
<!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>