3 This test ensures that reparented overlay scrollbars are positioned
4 correctly when the compositing container and the ancestor compositing
5 stacking context differ.
41 if (window
.testRunner
)
42 testRunner
.dumpAsText();
44 if (window
.internals
) {
45 window
.internals
.settings
.setOverlayScrollbarsEnabled(true);
46 window
.internals
.settings
.setPreferCompositingToLCDTextEnabled(true);
50 if (window
.internals
) {
51 document
.getElementById('console').innerHTML
= window
.internals
.layerTreeAsText(document
);
60 <div id=
"background"></div>
61 <div id=
"foreground"></div>
67 <pre id=
"console"></pre>