gecko-dev/layout/reftests/scrolling/propagated-overflow-style-1b.html
Daniel Holbert b206e22623 Bug 1344398 part 3: Add reftests for dynamic changes to "overflow" on html & body elements. r=tnikkel
MozReview-Commit-ID: 8WP2qDiKpyP

--HG--
extra : rebase_source : 3be40062f6e1de2e6f8d135f7d11ba2f86e6ab01
2017-05-10 13:55:37 -07:00

24 lines
498 B
HTML

<!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>