blob: 0ceb1f21aba9d1598801a9ce9fe7fa527313985f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<title>
Testcase with only one of [html,body] being scrollable,
with their "overflow" styles being dynamically swapped.
</title>
<style>
html {
overflow: scroll;
}
</style>
<script>
function doTest() {
document.documentElement.style.overflow = "visible";
document.body.style.overflow = "scroll";
document.documentElement.removeAttribute("class");
}
window.addEventListener("MozReftestInvalidate", doTest);
</script>
</head>
<body>
</body>
</html>
|