Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
index 4ca86c11157b7db991838ea960af4c6752c9340a..a68d26215d27f358f65655a6633e85c3226a194e 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
@@ -2956,7 +2956,7 @@ Element* LayoutObject::offsetParent(const Element* base) const |
continue; |
} |
- if (ancestor->isPositioned()) |
+ if (ancestor->canContainAbsolutePositionObjects()) |
break; |
if (isHTMLBodyElement(*node)) |