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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutView.cpp

Issue 2173963002: Ensure that we consistently check contains: paint for fixed position containment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove trailing whitespace Created 4 years, 5 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: third_party/WebKit/Source/core/layout/LayoutView.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutView.cpp b/third_party/WebKit/Source/core/layout/LayoutView.cpp
index 049640447983c0360c72adfea4309b6aedcde362..5c9cf73289b3804e5b8d1766defe29047048d2ff 100644
--- a/third_party/WebKit/Source/core/layout/LayoutView.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutView.cpp
@@ -362,7 +362,7 @@ const LayoutObject* LayoutView::pushMappingToContainer(const LayoutBoxModelObjec
if ((!ancestorToStopAt || container) && shouldUseTransformFromContainer(container)) {
TransformationMatrix t;
getTransformFromContainer(container, LayoutSize(), t);
- geometryMap.push(this, t, HasTransform, offsetForFixedPosition);
+ geometryMap.push(this, t, ContainsFixedPosition, offsetForFixedPosition);
} else {
geometryMap.push(this, offset, 0, offsetForFixedPosition);
}

Powered by Google App Engine
This is Rietveld 408576698