3 This test checks that when overlay scrollbars are repositioned due to
4 accelerated overflow scrolling, that their position accounts for any
5 intervening, composited ancestors. The test is working correctly if the
6 scrollbars are correctly positioned on top of the scroller and the scrolled
14 border:
1px solid black;
35 background: papayawhip;
38 -webkit-backface-visibility: hidden;
42 <div id=
"intervening">
44 <div id=
"fixed"></div>
45 <div class=
"scrolled"></div>
46 <div class=
"scrolled"></div>
47 <div class=
"scrolled"></div>
48 <div class=
"scrolled"></div>
52 if (window
.internals
) {
53 window
.internals
.settings
.setOverlayScrollbarsEnabled(true);
54 window
.internals
.settings
.setPreferCompositingToLCDTextEnabled(true);
57 if (window
.testRunner
)
58 window
.testRunner
.dumpAsTextWithPixelResults();
61 if (window
.internals
&& window
.testRunner
)
62 window
.testRunner
.setCustomTextOutput(window
.internals
.layerTreeAsText(document
));