zero-opacity-text.html 383 B

12345678910111213141516
  1. <!DOCTYPE HTML>
  2. <html class="reftest-wait">
  3. <body>
  4. <div style="opacity:0">
  5. <div id="d" class="reftest-no-paint" style="height:50px;">abc</div>
  6. </div>
  7. <script type="application/javascript">
  8. function doTest() {
  9. d.textContent = "def";
  10. document.documentElement.removeAttribute("class");
  11. }
  12. document.addEventListener("MozReftestInvalidate", doTest, false);
  13. </script>
  14. </body>
  15. </html>