Chromium Code Reviews| 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..16e98b7f1d3e5ef34e4b3b98d8ce85ae4fe9c981 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 IsContainerForAbsoluteChild( |
|
cbiesinger
2017/01/18 20:27:00
Why not name this IsContainingBlockForChild?
ikilpatrick
2017/01/18 21:32:19
Done.
A better name might also be IsContainingBlo
cbiesinger
2017/01/18 21:42:04
Well, it's used for any block, but point taken --
|
| + 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 |