summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/480880-1d.html
blob: e48edea39e6fce9888c75ea7dfac5e7b38b68a03 (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 = "";
        });
    </script>
  </head>
  <body style="background: red">
    <script>
      document.documentElement.removeChild(document.body);
    </script>
  </body>
</html>