summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/421239-1.html
blob: d4d94b0bacc65b5107b27401c6de2875a18f6746 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html class="reftest-wait">
<head>
  <style>
    div#a { margin: 100px 0px 100px 0px;  }
  </style>
  <script>
  function boom()
  {
    var a = document.getElementById("a");
    a.removeChild(a.firstChild);
    document.documentElement.className = "";
  }
  </script>
</head>
<body onload="boom();">
  <div id="a">a</div>
  <div>b</div>
</body>
</html>