2 <!-- Test for WK90042 - Passes if there is no crash and "PASS" is displayed. -->
7 testRunner
.dumpAsText();
9 var textElement
= document
.createElementNS("http://www.w3.org/2000/svg", "text");
10 document
.documentElement
.appendChild(textElement
);
11 var aElement
= document
.createElementNS("http://www.w3.org/2000/svg", "a");
12 var animateElement
= document
.createElementNS("http://www.w3.org/2000/svg", "animate");
13 aElement
.appendChild(animateElement
);
14 document
.implementation
.createDocument("", "", null).adoptNode(aElement
);
15 for (something
in animateElement
)
16 animateElement
[something
];
17 textElement
.appendChild(animateElement
);
18 textElement
.parentNode
.removeChild(textElement
);
20 // Not crashing at this point means we PASS.
21 document
.body
.innerHTML
= "PASS";