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