mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 11:45:37 +00:00
db37a82e0b
MozReview-Commit-ID: AIb0AWU7iiS --HG-- extra : rebase_source : f6277bbe2c8ffd571e32bb886903243df655918e
19 lines
489 B
HTML
19 lines
489 B
HTML
<html class="reftest-wait">
|
|
<head>
|
|
</head>
|
|
<body>
|
|
<div id="container" style="height: 100px; overflow: hidden;">
|
|
<div id="second" style="background-color:red; width: 10px; height: 10px;"></div>
|
|
<div id="spacer" style="height: 200px;"></div>
|
|
</div>
|
|
</body>
|
|
<script>
|
|
function doTest() {
|
|
document.getElementById("container").scrollTop = 100;
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
|
|
window.addEventListener("MozReftestInvalidate", doTest);
|
|
</script>
|
|
</html>
|