307826-1.xhtml (569B)
1 <html xmlns="http://www.w3.org/1999/xhtml" class="test-wait"> 2 3 <head> 4 5 <title>Testcase for MathML crash</title> 6 7 <script><![CDATA[ 8 9 function boom() { 10 var div = document.getElementById("div"); 11 var mi = document.getElementById("mi"); 12 mi.appendChild(div); 13 mi.removeChild(div); 14 15 document.documentElement.removeAttribute("class"); 16 } 17 18 ]]></script> 19 20 </head> 21 22 23 <body onload="setTimeout(boom, 30);"> 24 25 <div style="float: right;" id="div">Floated div</div> 26 27 <math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><mi id="mi">mi</mi></math> 28 29 </body> 30 </html>