summaryrefslogtreecommitdiffstats
path: root/layout/reftests/transform-3d/perspective-clipping-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/transform-3d/perspective-clipping-2.html')
-rw-r--r--layout/reftests/transform-3d/perspective-clipping-2.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/layout/reftests/transform-3d/perspective-clipping-2.html b/layout/reftests/transform-3d/perspective-clipping-2.html
new file mode 100644
index 0000000000..466b52c3a1
--- /dev/null
+++ b/layout/reftests/transform-3d/perspective-clipping-2.html
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML>
+<html>
+<body>
+ <div style="width:100px; height:100px; background-color:green"></div>
+ <div style="width:100px; height:100px; overflow:hidden">
+ <div style="transform: translateY(-100px) perspective(1px); will-change:transform">
+ <div style="background-color:red; width:100px; height:100px"></div>
+ <div style="background-color:green; width:100px; height:100px"></div>
+ </div>
+ </div>
+</body>
+</html>