gecko/gfx/tests/crashtests/393822-1.html

33 lines
523 B
HTML
Raw Normal View History

2008-01-06 16:19:32 -08:00
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
<head>
<script>
var ff;
var jj;
function boom()
{
ff = document.createElement("font");
ff.setAttribute("size", "-2");
ff.appendChild(document.createTextNode("G"));
jj = document.getElementById("jj");
jj.appendChild(ff);
setTimeout(boom2, 30);
}
function boom2()
{
jj.removeChild(ff);
document.documentElement.removeAttribute("class");
}
</script>
</head>
<body onload="boom();" dir="rtl"><div id="jj">h </div></body>
</html>