5 <style type=
"text/css" media=
"screen">
14 border:
1px solid black;
15 transform: translate(
0px,
0px);
23 background-color: blue;
24 transform: translate(
0px,
0px);
33 background-color: yellow;
34 transform: rotate(
30deg);
42 background-color: green;
43 transform: perspective(
400px) translate3D(-
30px,
30px,
100px) rotateY(
60deg);
47 <script type=
"text/javascript" charset=
"utf-8">
48 if (window.testRunner)
49 testRunner.waitUntilDone();
53 if (window.testRunner)
54 testRunner.notifyDone();
57 window.addEventListener('load', doTest, false);
63 <!-- Normally we skip making a compositing layer on a parent, even if its children are composited -->
64 <!-- But if the parent has a 2D transform it should get a compositing layer -->
65 <!-- Here we test that the entire hierarchy gets layers when some elements are transformed and others arent -->
66 <!-- Should see a box containing a blue box containing a rotated yellow box containing a green box in perspective -->
68 This content is in the parent
71 <div id=
"greatgrandchild">
72 Box should have perspective