gecko-dev/content/base/crashtests/345837-1.xhtml
jruderman@hmc.edu 4c6f49d18b Add a crashtest
2008-01-04 22:46:52 -08:00

36 lines
590 B
HTML

<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
<head>
<script>
<![CDATA[
function foo()
{
var r = document.createRange();
r.setStart(document.getElementById("a"), 0);
r.setEnd(document.getElementById("b"), 0);
window.getSelection().addRange(r);
var everything = document.getElementById("everything");
everything.parentNode.removeChild(everything);
document.documentElement.removeAttribute("class");
}
]]>
</script>
</head>
<body onload="setTimeout(foo, 30);">
<div id="everything">
<div id="a">
<span id="b" />
</div>
</div>
</body>
</html>