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