3 <!-- Test for WK104972: this test passes if it does not crash. -->
4 <body id=
"body" onload=
"crash()">
5 <svg width=
"100" height=
"100">
10 <set id=
"animate"></set>
15 if (window
.testRunner
) {
16 testRunner
.waitUntilDone();
17 testRunner
.dumpAsText();
21 var notInDocRect
= document
.createElementNS("http://www.w3.org/2000/svg", "rect");
22 setTimeout(function() {
23 var g2
= document
.getElementById('g2');
24 g2
.parentNode
.removeChild(g2
);
25 document
.getElementById('g1').appendChild(document
.getElementById('animate'));
26 notInDocRect
.appendChild(document
.getElementById('rect1'));
27 document
.getElementById('body').innerHTML
= "PASS: test did not crash";
29 if (window
.testRunner
)
30 testRunner
.notifyDone();