blob: 204a6a7bc3e76efa62f0c4584979b98d062a2df3 [file] [log] [blame]
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<text>PASS if no crash/assert</text>
<g id="outer"><use id="a"></use></g>
<use id="b" xlink:href="#outer" />
<script><![CDATA[
function test() {
var elem = document.getElementById("b");
elem.parentNode.removeChild(elem);
}
test();
document.getElementById("a").appendChild(document.createElement("g"));
if (window.testRunner) {
testRunner.dumpAsText();
}
]]></script>
</svg>