2 <html lang=
"en" class=
"reftest-wait">
4 <title>Change a layer's transform making negative w component.
</title>
9 background-color: white;
15 perspective-origin:
350px
250px;
26 transform-style: preserve-
3d;
27 transform: translateX(-
50px) translateZ(
350px) rotateY(-
90deg);
31 transform-style: preserve-
3d;
32 transform: translateY(-
200px) translateX(
50px) translateZ(
350px) rotateY(
90deg);
36 transform-style: preserve-
3d;
40 transform: translateZ(
1px);
44 transform: translateZ(-
500px);;
48 transform-style: preserve-
3d;
49 transform: translateY(
150px);
53 background-color: red;
63 <div id=
"scale" class=
"negw">
66 <div id=
"square1"></div>
69 <div id=
"square2"></div>
77 var scale
= document
.getElementById("scale");
80 scale
.className
= "posw";
81 document
.documentElement
.removeAttribute("class");
84 document
.addEventListener("MozReftestInvalidate", doTest
);