1 <html xmlns=
"http://www.w3.org/1999/xhtml" xmlns:
math=
"http://www.w3.org/1998/Math/MathML" class=
"reftest-wait">
7 var mi
= document
.getElementById("mi");
8 var textA
= mi
.firstChild
;
9 var textB
= document
.createTextNode("b");
10 var textSpace
= document
.createTextNode(" ");
12 var floater
= document
.getElementById("floater");
14 mi
.appendChild(textB
);
15 mi
.appendChild(textSpace
);
16 mi
.removeChild(textA
);
17 mi
.removeChild(textSpace
);
19 floater
.parentNode
.removeChild(floater
);
21 document
.documentElement
.removeAttribute("class");
27 <body onload=
"setTimeout(boom, 30);">
29 <math:mi id=
"mi">a
<p><span style=
"float: right;" id=
"floater" /></p></math:mi>