blob: 97ea1dffca3235acc1568933adae89a4d5b7092d [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd">
<svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="400" height="400" onload="runRepaintTest()">
<script xlink:href="../../fast/repaint/resources/repaint.js"/>
<script type="text/ecmascript">
<![CDATA[
function repaintTest() {
var group = document.getElementById("objectsToRemove");
if (group != null) {
while (group.firstChild) {
group.removeChild(group.firstChild);
}
}
}
]]>
</script>
<rect x="0" y="0" width="400" height="400" style="fill:none; stroke:black; stroke-width:1"/>
<g id="objectsToRemove">
<rect width="20" height="20"/>
<text x="50" y="125">This should not be visible</text>
</g>
</svg>