blob: 43a170b33acc0134f9deea2ddfb440b50890fef4 [file] [log] [blame]
<svg width="800" height="600" 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"/>
<mask id="Mask" maskUnits="userSpaceOnUse" x="0" y="0" width="800" height="300">
<rect x="0" y="0" width="800" height="300" fill="none"/>
</mask>
<script>
function repaintTest() {
document.getElementById("Mask").firstChild.nextSibling.setAttribute("fill", "red");
}
</script>
<rect x="0" y="100" width="800" height="100" fill="blue" mask="url(#Mask)"/>
</svg>