10 -webkit-perspective:
100px;
11 -webkit-transform-style: preserve-
3d;
23 background-color: green;
24 transform: translateZ(
10px);
29 background-color: blue;
30 transform: translateZ(
20px);
34 if (window
.testRunner
)
35 testRunner
.dumpAsText();
37 if (window
.internals
) {
38 window
.internals
.settings
.setPreferCompositingToLCDTextEnabled(true);
42 var pre
= document
.createElement('pre');
43 if (!window
.internals
) {
44 var description
= "This test ensures that the accelerated overflow "
45 + "scrolling machinery is not invoked for the body element.";
46 pre
.innerHTML
= description
;
48 document
.body
.offsetTop
;
49 pre
.innerHTML
= internals
.layerTreeAsText(document
);
51 document
.body
.appendChild(pre
);
53 window
.onload
= runTest
;
57 <div class=
"container">
58 <div class=
"child first"> </div>
59 <div class=
"child second"> </div>