mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 07:45:30 +00:00
26 lines
464 B
HTML
26 lines
464 B
HTML
<!DOCTYPE HTML>
|
|
<html class="reftest-wait">
|
|
<head>
|
|
<style type="text/css">
|
|
#rear {
|
|
width: 500px;
|
|
height: 1500px;
|
|
box-shadow: 0 0 71px #667;
|
|
display: block;
|
|
}
|
|
</style>
|
|
<script>
|
|
document.documentElement.scrollTop = 0;
|
|
|
|
function doTest() {
|
|
document.documentElement.scrollTop = 108;
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
window.addEventListener("MozReftestInvalidate", doTest);
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="rear"></div>
|
|
</body>
|
|
</html>
|