Index: LayoutTests/compositing/squashing/squash-three-layers.html |
diff --git a/LayoutTests/compositing/squashing/squash-three-layers.html b/LayoutTests/compositing/squashing/squash-three-layers.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ffd11a9d0d98ce84ba9c0a4f349d3f36f05e039a |
--- /dev/null |
+++ b/LayoutTests/compositing/squashing/squash-three-layers.html |
@@ -0,0 +1,53 @@ |
+<!DOCTYPE html> |
+<head> |
+<style> |
+.composited { |
+-webkit-transform: translatez(0); |
+} |
+ |
+.box { |
+ width: 100px; |
+ height: 100px; |
+} |
+ |
+.behind { |
+ position: absolute; |
+ z-index: 1; |
+ top: 100px; |
+ left: 100px; |
+ background-color: blue; |
+} |
+ |
+.middle { |
+ position: absolute; |
+ z-index: 1; |
+ top: 40px; |
+ left: 40px; |
+ background-color: lime; |
+} |
+ |
+.middle2 { |
+ position: absolute; |
+ z-index: 1; |
+ top: 130px; |
+ left: 60px; |
+ background-color: magenta; |
+} |
+ |
+.top { |
+ position: absolute; |
+ z-index: 1; |
+ top: 70px; |
+ left: 120px; |
+ background-color: cyan; |
+} |
+ |
+ |
+</style> |
+</head> |
+<body> |
+<div class="composited box behind"></div> |
+<div class="box middle"></div> |
+<div class="box middle2"></div> |
+<div class="box top"></div> |
+</body> |