Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(178)

Unified Diff: LayoutTests/compositing/overflow/transform-should-update-absolute-clip-rects-expected.html

Issue 334373002: Clear absolute clip rects when transform changes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Split updateTransform into two parts Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698