summaryrefslogtreecommitdiffstats
path: root/layout/reftests/backgrounds/root-element-display-none-1.html
blob: 0e0977433d22823b4372f7835e3c90f897cb01ba (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);
    </script>
  </head>
  <body>
  </body>
</html>