4 <title>Child layer
3d sorting
</title>
6 <style type=
"text/css" media=
"screen">
8 -webkit-transform-style: preserve-
3d;
9 transform: translateZ(
0);
14 transform: translateZ(
0px);
20 transform: translateZ(
0px);
24 <script type=
"text/javascript" charset=
"utf-8">
25 if (window.testRunner) {
26 testRunner.waitUntilDone();
27 testRunner.dumpAsTextWithPixelResults();
31 var child = document.getElementById('child');
33 window.setTimeout(function() {
34 // Move the parent forward
35 child.style.webkitTransform =
"translateZ(10px)";
36 if (window.testRunner) {
37 window.setTimeout(function() {
38 testRunner.notifyDone();
44 window.addEventListener('load', doTest, false);
48 <!-- When the test is done, you should see a green square inside the blue square -->