gecko-dev/layout/reftests/bugs/546033-1.html

15 строки
361 B
HTML

<!DOCTYPE HTML>
<html class="reftest-wait">
<body style="height:3000px; overflow:hidden;">
<script>
function doTest() {
document.documentElement.scrollTop = 100;
document.documentElement.removeAttribute('class');
}
window.focus();
document.documentElement.focus();
document.addEventListener("MozReftestInvalidate", doTest, false);
</script>
</body>
</html>