Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / use-crash-using-children-before-destroy.svg
blobeacea1e1f6af54210a7228f7b331e1998990fc8b
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
2 <text>PASS if no crash/assert</text>
3 <g id="outer"><use id="a"></use></g>
4 <use id="b" xlink:href="#outer" />
5 <script><![CDATA[
6 var useobj = document.getElementById("b").instanceRoot;
8 function test() {
9 var elem = document.getElementById("b");
10 elem.parentNode.removeChild(elem);
12 test();
14 document.getElementById("a").appendChild(document.createElement("g"));
16 if (window.testRunner) {
17 testRunner.dumpAsText();
19 ]]></script>
20 </svg>