summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/480880-1d.html
blob: 4739c1ec36923c757d7e47a8957aa3f47684fda8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html class="reftest-wait">
  <head>
    <script>
      window.addEventListener("MozReftestInvalidate",
        function() {
          var b = document.createElement("body");
          b.style.background = "green";
          document.documentElement.appendChild(b);
          document.documentElement.className = "";
        }, false);
    </script>
  </head>
  <body style="background: red">
    <script>
      document.documentElement.removeChild(document.body);
    </script>
  </body>
</html>