зеркало из https://github.com/mozilla/gecko-dev.git
27 строки
535 B
HTML
27 строки
535 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<head>
|
|
<title>
|
|
Testcase with only one of [html,body] being scrollable,
|
|
after body's "overflow" is reset dynamically.
|
|
</title>
|
|
<style>
|
|
html {
|
|
overflow: scroll;
|
|
}
|
|
body {
|
|
overflow: scroll;
|
|
}
|
|
</style>
|
|
<script>
|
|
function doTest() {
|
|
document.body.style.overflow = "visible";
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
window.addEventListener("MozReftestInvalidate", doTest);
|
|
</script>
|
|
</head>
|
|
<body>
|
|
</body>
|
|
</html>
|