4 <style type=
"text/css" media=
"screen">
9 background-color: blue;
11 box-shadow:
0 0 3px black; /* make the compositing layers a little bigger */
15 display: inline-block;
19 transform: translateZ(
0);
23 transform: rotate3d(
0,
0,
1,
15deg);
27 transform: rotate3d(
0,
0,
1,
45deg);
30 <script type=
"text/javascript" charset=
"utf-8">
31 if (window.testRunner)
32 testRunner.dumpAsText();
36 if (window.testRunner) {
37 document.getElementById('results').innerText = window.internals.layerTreeAsText(document);
38 testRunner.notifyDone();
42 window.addEventListener('load', doTest, false);
46 <div class=
"container">
47 <div class=
"box translateZ"></div>
48 <!-- The second box should not be composited. -->
49 <div class=
"box"></div>
52 <div class=
"container">
53 <div class=
"composited box rotate15"></div>
54 <!-- The second box should not be composited. -->
55 <div class=
"box"></div>
58 <div class=
"container">
59 <div class=
"composited box rotate45"></div>
60 <!-- The second box should be composited. -->
61 <div class=
"box"></div>
64 <pre id=
"results">Layer tree goes here in DRT.
</pre>