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

Unified Diff: third_party/WebKit/LayoutTests/paint/overflow/non-composited-fixed-position-descendant.html

Issue 2521033003: Reland: Don't early out recursion into PaintLayerChildren when computing composited bounds. (Closed)
Patch Set: none Created 4 years, 1 month 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: third_party/WebKit/LayoutTests/paint/overflow/non-composited-fixed-position-descendant.html
diff --git a/third_party/WebKit/LayoutTests/paint/overflow/non-composited-fixed-position-descendant.html b/third_party/WebKit/LayoutTests/paint/overflow/non-composited-fixed-position-descendant.html
new file mode 100644
index 0000000000000000000000000000000000000000..3008bd7dcfcf4308a026389cff4a5303b295c33a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/overflow/non-composited-fixed-position-descendant.html
@@ -0,0 +1,26 @@
+<div id="parent">
+ <div id="fixed">
+ </div>
+</div>
+<!-- 'fixed' should overflow the bounds of 'parent', because 'parent' is not
+the containing block for 'fixed' -->
+<style>
+#parent {
+ position: absolute;
+ z-index: 0;
+ overflow: auto;
+ background: lightgray;
+ width: 150px;
+ height: 150px;
+ backface-visibility: hidden;
+}
+
+#fixed {
+ position: fixed;
+ top: 30px;
+ left: 30px;
+ height: 200px;
+ width: 200px;
+ background: lightblue;
+}
+</style>

Powered by Google App Engine
This is Rietveld 408576698