mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 20:30:41 +00:00

MozReview-Commit-ID: 8WP2qDiKpyP --HG-- extra : rebase_source : 3be40062f6e1de2e6f8d135f7d11ba2f86e6ab01
20 lines
495 B
HTML
20 lines
495 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<head>
|
|
<title>
|
|
Testcase with body and html *independently* scrollable,
|
|
with both html & body's "overflow" set dynamically.
|
|
</title>
|
|
<script>
|
|
function doTest() {
|
|
document.documentElement.style.overflow = "scroll";
|
|
document.body.style.overflow = "scroll";
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
window.addEventListener("MozReftestInvalidate", doTest);
|
|
</script>
|
|
</head>
|
|
<body>
|
|
</body>
|
|
</html>
|