28 background-color: red;
32 background-color: lime;
36 transform: translatez(
0);
40 <script type=
"text/javascript">
41 if (window
.internals
) {
42 window
.internals
.settings
.setPreferCompositingToLCDTextEnabled(true);
45 if (window
.testRunner
) {
46 testRunner
.dumpAsText();
48 window
.addEventListener("load", function() {
49 document
.getElementById("layertree").innerText
= window
.internals
.layerTreeAsText(document
);
55 <body class=
"unscrollable">
56 <div style=
"height: 4000px">
57 <pre id=
"layertree"></pre>
60 <!-- This should not be promoted to a composited layer, because the body is
61 unscrollable and there is no need to composite the fixed-position layer.
63 <div class=
"fixed lime box"></div>