OLD | NEW |
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k"> | 1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k"> |
2 <text>PASS if no crash/assert</text> | 2 <text>PASS if no crash/assert</text> |
3 <g id="outer"><use id="a"></use></g> | 3 <g id="outer"><use id="a"></use></g> |
4 <use id="b" xlink:href="#outer" /> | 4 <use id="b" xlink:href="#outer" /> |
5 <script><![CDATA[ | 5 <script><![CDATA[ |
6 var useobj = document.getElementById("b").instanceRoot; | 6 var useobj = document.getElementById("b").instanceRoot; |
7 | 7 |
8 function test() { | 8 function test() { |
9 var elem = document.getElementById("b"); | 9 var elem = document.getElementById("b"); |
10 elem.parentNode.removeChild(elem); | 10 elem.parentNode.removeChild(elem); |
11 } | 11 } |
12 test(); | 12 test(); |
13 | 13 |
14 document.getElementById("a").appendChild(document.createElement("g")); | 14 document.getElementById("a").appendChild(document.createElement("g")); |
15 | 15 |
16 if (window.layoutTestController) { | 16 if (window.layoutTestController) { |
17 layoutTestController.dumpAsText(); | 17 layoutTestController.dumpAsText(); |
18 } | 18 } |
19 ]]></script> | 19 ]]></script> |
20 </svg> | 20 </svg> |
OLD | NEW |