15 background-color: yellow;
21 background-color: blue;
24 <div class=
"overflow fixed">
25 <div class=
"yellow fixed"></div>
26 <div class=
"blue"></div>
29 <script src=
"../../resources/run-after-layout-and-paint.js"></script>
31 if (window
.testRunner
&& window
.internals
) {
32 testRunner
.dumpAsText();
33 testRunner
.waitUntilDone();
34 internals
.settings
.setPreferCompositingToLCDTextEnabled(true);
37 runAfterLayoutAndPaint(function() {
38 if (window
.testRunner
)
39 document
.querySelector('pre').textContent
= window
.internals
.layerTreeAsText(document
);