Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html class="reftest-wait">
<link rel="match" href="will-change-transform-huge-offset-scrolled-ref.html">
<div style="width: 20px; height: 20px; margin-top: 10000px; background: green; will-change: transform"></div>
<script>
// Incrementally scroll to the bottom.
var lastScrollY = 0;
function scroll() {
window.scrollBy(0, 200);
if (window.scrollY > lastScrollY) {
lastScrollY = window.scrollY;
requestAnimationFrame(scroll);
} else {
document.documentElement.classList.remove('reftest-wait');
}
}
requestAnimationFrame(scroll);
</script>