propagated-overflow-style-1a.html 487 B

123456789101112131415161718192021222324
  1. <!DOCTYPE html>
  2. <html class="reftest-wait">
  3. <head>
  4. <title>
  5. Testcase with body and html *independently* scrollable,
  6. with body's "overflow" set dynamically.
  7. </title>
  8. <style>
  9. html {
  10. overflow: scroll;
  11. }
  12. </style>
  13. <script>
  14. function doTest() {
  15. document.body.style.overflow = "scroll";
  16. document.documentElement.removeAttribute("class");
  17. }
  18. window.addEventListener("MozReftestInvalidate", doTest);
  19. </script>
  20. </head>
  21. <body>
  22. </body>
  23. </html>