Index: LayoutTests/compositing/overflow/transform-should-update-absolute-clip-rects-expected.html |
diff --git a/LayoutTests/compositing/overflow/transform-should-update-absolute-clip-rects-expected.html b/LayoutTests/compositing/overflow/transform-should-update-absolute-clip-rects-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4ed58738a1d6c07605f55202030484f2c38822da |
--- /dev/null |
+++ b/LayoutTests/compositing/overflow/transform-should-update-absolute-clip-rects-expected.html |
@@ -0,0 +1,39 @@ |
+<!DOCTYPE html> |
+<style> |
+ #slidein { |
+ width: 200px; |
+ height: 200px; |
+ -webkit-transform: translate3d(200px, 0, 0); |
+ } |
+ |
+ #header { |
+ position: relative; |
+ height: 50px; |
+ z-index: 1; |
+ background-color: green; |
+ } |
+ |
+ #section { |
+ position: absolute; |
+ overflow: hidden; |
+ top: 0; |
+ width: 200px; |
+ } |
+ |
+ #content { |
+ width: 200px; |
+ height: 200px; |
+ -webkit-transform: translateZ(0); |
+ background-color: blue; |
+ } |
+</style> |
+ |
+<div id="slidein"> |
+ <div id="header">This div should stay in front.</div> |
+ |
+ <div id="section"> |
+ <div id="content"> |
+ This div should stay behind the header div. |
+ </div> |
+ </div> |
+</div> |