summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/480880-1a.html
blob: c57a8ae66d4092ee0f66b74d54b3c71a75d5e1fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html style="display: table" 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>