Index: third_party/WebKit/Source/core/layout/LayoutObject.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h |
index 41ca9c6c3a2321d73710d7baa0dae848ded8de17..72530abcb489177a1f74748890418d3f4d0fd573 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h |
@@ -817,6 +817,9 @@ public: |
virtual LayoutObject* hoverAncestor() const { return parent(); } |
Element* offsetParent() const; |
+ // This variant of offsetParent returns the nearest unclosed offset parent for |
+ // HTMLElement.offsetParent CSSOM binding. |
+ Element* unclosedOffsetParent() const; |
void markContainerChainForLayout(bool scheduleRelayout = true, SubtreeLayoutScope* = nullptr); |
void setNeedsLayout(LayoutInvalidationReasonForTracing, MarkingBehavior = MarkContainerChain, SubtreeLayoutScope* = nullptr); |