370791-1.xhtml (726B)
1 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:math="http://www.w3.org/1998/Math/MathML" class="test-wait"> 2 <head> 3 <script> 4 5 function boom() 6 { 7 var mi = document.getElementById("mi"); 8 var textA = mi.firstChild; 9 var textB = document.createTextNode("b"); 10 var textSpace = document.createTextNode(" "); 11 12 var floater = document.getElementById("floater"); 13 14 mi.appendChild(textB); 15 mi.appendChild(textSpace); 16 mi.removeChild(textA); 17 mi.removeChild(textSpace); 18 19 floater.parentNode.removeChild(floater); 20 21 document.documentElement.removeAttribute("class"); 22 } 23 24 </script> 25 </head> 26 27 <body onload="setTimeout(boom, 30);"> 28 29 <math:mi id="mi">a<p><span style="float: right;" id="floater" /></p></math:mi> 30 31 </body> 32 33 </html>