summaryrefslogtreecommitdiff
path: root/layout/reftests/z-index/stacking-context-perspective.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/z-index/stacking-context-perspective.html')
-rw-r--r--layout/reftests/z-index/stacking-context-perspective.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/reftests/z-index/stacking-context-perspective.html b/layout/reftests/z-index/stacking-context-perspective.html
new file mode 100644
index 0000000000..a9b99c86fc
--- /dev/null
+++ b/layout/reftests/z-index/stacking-context-perspective.html
@@ -0,0 +1,17 @@
+<!DOCTYPE HTML>
+<meta charset="UTF-8">
+<title>Does 'perspective' create a stacking context?</title>
+<link rel="stylesheet" href="stacking-context-common.css">
+<style>
+.perspective {
+ -webkit-perspective: 200px;
+ perspective: 200px;
+}
+</style>
+<div class="contain">
+ <div class="maybesc perspective">
+ <div class="inner1"></div>
+ <div class="inner3"></div>
+ </div>
+ <div class="intruder"></div>
+</div>