gecko-dev/layout/reftests/scrolling/propagated-overflow-style-2...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 строки
562 B
HTML
Исходник Обычный вид История

<!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>
body {
overflow: scroll;
}
</style>
<script>
function doTest() {
document.documentElement.style.overflow = "scroll";
document.body.style.overflow = "visible";
document.documentElement.removeAttribute("class");
}
window.addEventListener("MozReftestInvalidate", doTest);
</script>
</head>
<body>
</body>
</html>