| Index: sky/engine/core/rendering/RenderBoxModelObject.cpp
|
| diff --git a/sky/engine/core/rendering/RenderBoxModelObject.cpp b/sky/engine/core/rendering/RenderBoxModelObject.cpp
|
| index b6179ac16492aaf8384b60e30956eec8857335a9..f62d928b5defa3057129d7d4c6189d6acb624b3c 100644
|
| --- a/sky/engine/core/rendering/RenderBoxModelObject.cpp
|
| +++ b/sky/engine/core/rendering/RenderBoxModelObject.cpp
|
| @@ -84,11 +84,7 @@ bool RenderBoxModelObject::hasAutoHeightOrContainingBlockWithAutoHeight() const
|
| if (!logicalHeightLength.isPercent() || isOutOfFlowPositioned())
|
| return false;
|
|
|
| - // Anonymous block boxes are ignored when resolving percentage values that would refer to it:
|
| - // the closest non-anonymous ancestor box is used instead.
|
| RenderBlock* cb = containingBlock();
|
| - while (cb->isAnonymous())
|
| - cb = cb->containingBlock();
|
|
|
| // Match RenderBox::availableLogicalHeightUsing by special casing
|
| // the render view. The available height is taken from the frame.
|
|
|