13 background-color: silver;
18 border:
1px solid black;
21 -webkit-transform-style: preserve-
3d;
26 if (window
.testRunner
)
27 testRunner
.dumpAsText();
31 var layersResult
= document
.getElementById('layers');
32 if (window
.testRunner
)
33 layersResult
.innerText
= window
.internals
.layerTreeAsText(document
);
36 window
.addEventListener('load', dumpLayers
, false)
42 <div class=
"preserve3d">
43 This layer should not be composited.
44 <div class=
"box"></div>
48 <div class=
"preserve3d">
49 This layer should not be composited.
50 <div class=
"box" style=
"transform: rotate(10deg)"></div>
54 <div class=
"preserve3d">
55 This layer should be composited.
56 <div class=
"box" style=
"transform: rotateY(10deg)"></div>
58 <pre id=
"layers">Layer tree goes here in DRT
</pre>