summaryrefslogtreecommitdiffstats
path: root/layout/reftests/invalidation/negative-w-component-ref.html
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /layout/reftests/invalidation/negative-w-component-ref.html
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/invalidation/negative-w-component-ref.html')
-rw-r--r--layout/reftests/invalidation/negative-w-component-ref.html73
1 files changed, 73 insertions, 0 deletions
diff --git a/layout/reftests/invalidation/negative-w-component-ref.html b/layout/reftests/invalidation/negative-w-component-ref.html
new file mode 100644
index 000000000..f8d845d17
--- /dev/null
+++ b/layout/reftests/invalidation/negative-w-component-ref.html
@@ -0,0 +1,73 @@
+<!DOCTYPE html>
+<html lang="en">
+<meta charset="utf-8">
+<title>Change a layer's transform making negative w component.</title>
+
+<style>
+
+body {
+ background-color: white;
+ overflow: hidden;
+}
+
+#outer {
+ perspective: 500px;
+ perspective-origin: 350px 250px;
+ width: 700px;
+ height: 500px;
+ display: block;
+ top: 10px;
+ left: 10px;
+ position: absolute;
+ overflow: visible;
+}
+
+#container1 {
+ transform-style: preserve-3d;
+ transform: translateX(-50px) translateZ(350px) rotateY(-90deg);
+}
+
+#container2 {
+ transform-style: preserve-3d;
+ transform: translateY(-200px) translateX(50px) translateZ(350px) rotateY(90deg);
+}
+
+#scale {
+ transform-style: preserve-3d;
+}
+
+.negw {
+ transform: translateZ(1px);
+}
+
+.posw {
+ transform: translateZ(-500px);;
+}
+
+#dummy {
+ transform-style: preserve-3d;
+ transform: translateY(150px);
+}
+
+#square1, #square2 {
+ background-color: red;
+ width: 700px;
+ height: 200px;
+}
+
+</style>
+
+<body>
+
+<div id="outer">
+ <div id="scale" class="posw">
+ <div id="dummy">
+ <div id="container1">
+ <div id="square1"></div>
+ </div>
+ <div id="container2">
+ <div id="square2"></div>
+ </div>
+ </div>
+ </div>
+</div>