Index: third_party/WebKit/Source/core/layout/LayoutGeometryMap.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutGeometryMap.cpp b/third_party/WebKit/Source/core/layout/LayoutGeometryMap.cpp |
index 9c55011fd10d037355ccbe7e0b74509159f730f1..be273119ee35792a0d46aa230e4a56b6ae6e2cb3 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutGeometryMap.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutGeometryMap.cpp |
@@ -196,10 +196,11 @@ static bool canMapBetweenLayoutObjects(const LayoutObject& layoutObject, |
current = current->parent()) { |
const ComputedStyle& style = current->styleRef(); |
if (style.position() == EPosition::kFixed || |
- style.isFlippedBlocksWritingMode()) |
+ style.isFlippedBlocksWritingMode() || |
+ style.hasTransformRelatedProperty()) |
return false; |
- if (current->style()->canContainFixedPositionObjects() || |
+ if (current->canContainFixedPositionObjects() || |
current->isLayoutFlowThread() || current->isSVGRoot()) |
return false; |