4 bottom:
0; /* Useful for seeing the issue visually. */
16 -webkit-backface-visibility: hidden;
19 To manually test, just scroll down, there should be no purple trace.
22 <div id=
"recentlink"></div>
26 <!-- Used to have some overflowing content to scroll -->
27 <div style=
"height: 5000px"></div>
29 <script src=
"resources/text-based-repaint.js" type=
"text/javascript"></script>
31 window
.scrollTo(0, 1000);
33 window
.testIsAsync
= true;
34 if (window
.testRunner
)
35 testRunner
.waitUntilDone();
37 function repaintTest()
39 window
.scrollBy(0, 400);
43 // We need to skip 2 frames for the bug to show under DRT.
44 window
.requestAnimationFrame(function() {
45 window
.requestAnimationFrame(function() {