Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

<html class="reftest-wait">
<head>
</head>
<body>
<div id="container" style="height: 100px; overflow: hidden;">
<div id="spacer" style="height: 50px;"></div>
<div id="second" style="background-color:red; width: 10px; height: 10px;"></div>
</div>
</body>
<script>
function doTest() {
document.getElementById("container").style.height = "40px";
document.documentElement.removeAttribute("class");
}
window.addEventListener("MozReftestInvalidate", doTest);
</script>
</html>