summaryrefslogtreecommitdiffstats
path: root/layout/reftests/backgrounds/root-element-display-none-1.html
blob: 7c43219f920d4884257efc0d4904d034b5fa5f6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<html id="theroot" style="background-color: red" class="reftest-wait">
  <head>
    <script>
      function dodisplaynone() {
        document.getElementById('theroot').style.display = 'none';
        document.documentElement.className = "";
      }
      document.addEventListener("MozReftestInvalidate", dodisplaynone, false);
    </script>
  </head>
  <body>
  </body>
</html>