33 background-color: red;
37 background-color: lime;
41 transform: translatez(
0);
45 border: solid black
1px;
50 <script type=
"text/javascript">
52 window
.internals
.settings
.setPreferCompositingToLCDTextEnabled(true);
54 if (window
.testRunner
) {
55 testRunner
.dumpAsText();
57 window
.addEventListener("load", function() {
58 document
.getElementById("layertree").innerText
= window
.internals
.layerTreeAsText(document
);
64 <body class=
"unscrollable">
65 <p>Even though the fixed-position element's container is nonscrollable, it
66 should still be composited because one of its ancestors is scrolling.
</p>
67 <pre id=
"layertree"></pre>
69 <div class=
"scrollable bigBox">
70 <div style=
"height: 800px;"></div>
71 <div class=
"fixed lime box"></div>