| Index: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| index 8b58376fea7a9963e5de4954ef1d3a79fea323a1..12ce17b0c319397192da806f712b687abaec559a 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| @@ -554,7 +554,8 @@ LayoutBlock* LayoutBoxModelObject::containingBlockForAutoHeightDetection(Length
|
| {
|
| // For percentage heights: The percentage is calculated with respect to the height of the generated box's
|
| // containing block. If the height of the containing block is not specified explicitly (i.e., it depends
|
| - // on content height), and this element is not absolutely positioned, the value computes to 'auto'.
|
| + // on content height), and this element is not absolutely positioned, the used height is calculated
|
| + // as if 'auto' was specified.
|
| if (!logicalHeight.hasPercent() || isOutOfFlowPositioned())
|
| return nullptr;
|
|
|
|
|