chromium/third_party/blink/web_tests/paint/invalidation/scroll/repaint-during-scroll.html

<head>
    <script>
        function runTest()
        {
            if (window.testRunner)
                testRunner.waitUntilDone();
            scrollBy(0, 100);
        }

        function handleScroll()
        {
            var target = document.getElementById("target");
            target.style.backgroundColor = "green";
            if (window.testRunner)
                testRunner.notifyDone();
        }
    </script>
</head>
<body onload="runTest()" onscroll="handleScroll()" style="height: 200%;">
    <div id="target" style="position: absolute; top: 300px; left: 300px; background-color: red; width: 100px; height: 100px;"></div>
</body>