blob: 458ca6c8edeac6ad2f087ca202594d5e889a0d4f [file] [log] [blame]
<svg 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"></script>
<defs>
<linearGradient id="gradient" gradientUnits="objectBoundingBox" x1="0" y1="0" x2="1" y2="1">
<stop id="stop" stop-color="red" offset="0"/>
</linearGradient>
<filter id="filter" >
<feImage xlink:href="#ellipse"/>
</filter>
<ellipse id="ellipse" cx="50%" cy="50%" rx="25%" ry="25%" fill="url(#gradient)"/>
</defs>
<rect width="100%" height="100%" filter='url(#filter)'/>
<script>
function repaintTest() {
document.getElementById("stop").setAttribute("stop-color", "green");
}
</script>
</svg>