jruderman%hmc.edu 5291509a5a Move setTimeout to onload to make sure it doesn't fire too early.
git-svn-id: svn://10.0.0.236/trunk@241821 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-20 01:29:26 +00:00

31 lines
576 B
HTML

<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
<head>
<title>Testcase for MathML crash</title>
<script><![CDATA[
function boom() {
var div = document.getElementById("div");
var mi = document.getElementById("mi");
mi.appendChild(div);
mi.removeChild(div);
document.documentElement.removeAttribute("class");
}
]]></script>
</head>
<body onload="setTimeout(boom, 30);">
<div style="float: right;" id="div">Floated div</div>
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><mi id="mi">mi</mi></math>
</body>
</html>