| 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 067a7670c8ff7bdc58a885aa755c4b874132039e..4579edb531ba66d1ccab3a54fafe4df864366fb8 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| @@ -525,7 +525,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;
|
|
|
|
|