20 lines
485 B
XML
20 lines
485 B
XML
<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>
|