Index: third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.h b/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.h |
index 1513af443b68205fae6bc5a7c39d1007a9bee932..91e0eaf5cba0dadd915b82c31cfc2ccc5737ec3c 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.h |
@@ -43,6 +43,11 @@ CORE_EXPORT bool AbsoluteNeedsChildInlineSize(const ComputedStyle&); |
// estimated block size. |
CORE_EXPORT bool AbsoluteNeedsChildBlockSize(const ComputedStyle&); |
+// True if the container will contain an absolute child. |
+CORE_EXPORT bool IsContainingBlockForAbsoluteChild( |
+ const ComputedStyle& container_style, |
+ const ComputedStyle& child_style); |
+ |
// Compute part of position that depends on child's inline_size |
// returns partially filled position. |
CORE_EXPORT NGAbsolutePhysicalPosition |