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

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

Issue 2194913002: Ensure that we consistently check contains: paint for fixed position containment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: 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 0fc2e4519123d7005a10b7863ab065341dc0b530..96d5a40ade75f7e2d2651fee6df1faeb9000b46d 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