</style>
</head>
<body>
<div id="a_box"></div>
<div id="another_box"></div>
<script>
function doTest() {
if (document.location.search != '?ref') {
// Scroll - expected to be smooth
window.scrollTo({left: 500, top: 500});
// Interrupt smooth scrolling
window.scrollTo({left: window.scrollX, top: window.scrollY});
// If scroll was not performed smoothly, we would be at 500,500 now
}
document.documentElement.removeAttribute("class");
}
window.scrollTo({left: 0, top: 0, behavior: "instant"});
document.documentElement.style.scrollBehavior = "smooth";
window.addEventListener("MozReftestInvalidate", doTest);
</script>
</body>
</html>
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.