<html class="reftest-wait">
<title>Testcase, bug 143862</title>
<style type="text/css" id="one"> html { overflow: hidden; } </style>
<style type="text/css" id="two"></style>
<script type="text/javascript">
function remove(elt) { elt.parentNode.removeChild(elt); }
function run() {
  remove(document.getElementById("one"));
  remove(document.getElementById("two"));

  document.documentElement.removeAttribute("class");
}
setTimeout(run, 100);
</script>
</html>