5 <script src=
"../../resources/run-after-layout-and-paint.js"></script>
11 background-color: gray;
12 transform: translateZ(
0);
22 border:
1px solid black;
30 border:
2px solid black;
36 if (window
.testRunner
) {
37 testRunner
.dumpAsTextWithPixelResults();
38 testRunner
.waitUntilDone();
43 var overflow
= document
.getElementById('overflow');
44 overflow
.scrollTop
= 50;
46 runAfterLayoutAndPaint(function() {
47 overflow
.scrollTop
= 75;
48 if (window
.testRunner
)
49 testRunner
.notifyDone();
52 window
.addEventListener('load', doTest
, false);
57 <div class=
"bar"></div>