4 Check that removing the preserve-3d attribute from a layer has the intended
5 effect. See https://bugs.webkit.org/show_bug.cgi?id=95732.
7 Passing criteria: green box shown without any visible red.
12 <style type=
"text/css" media=
"screen">
14 -webkit-perspective:
400px;
17 .transformed-container {
18 -webkit-transform-style: preserve-
3d;
19 transform: rotateX(
90deg);
22 .reverse-transformed-child {
23 transform: rotateX(-
90deg);
37 transform: translateZ(
0);
42 <script type=
"text/javascript">
44 if (window
.testRunner
) {
45 window
.testRunner
.dumpAsTextWithPixelResults();
46 window
.testRunner
.waitUntilDone();
48 window
.setTimeout(function() {
49 document
.getElementById('container').style
.webkitTransformStyle
= 'flat';
50 if (window
.testRunner
)
51 window
.testRunner
.notifyDone();
54 window
.addEventListener('load', doTest
);
59 <div class=
"test box"></div>
60 <div id=
"container" class=
"transformed-container box">
61 <div class=
"reverse-transformed-child indicator box"></div>