<!DOCTYPE html>
<html style="display: table" class="reftest-wait">
  <head>
    <script>
      window.addEventListener("MozReftestInvalidate",
        function() {
          document.documentElement.removeChild(document.body);
          document.documentElement.className = "";
        });
    </script>
  </head>
  <body style="background: green">
  </body>
</html>