| Index: Source/core/rendering/RenderBox.cpp
|
| diff --git a/Source/core/rendering/RenderBox.cpp b/Source/core/rendering/RenderBox.cpp
|
| index cbf845eeec867fd21201069da18e0925d358e567..c38831f69b75514c57e01098c3f003ab8e393fbe 100644
|
| --- a/Source/core/rendering/RenderBox.cpp
|
| +++ b/Source/core/rendering/RenderBox.cpp
|
| @@ -2242,7 +2242,7 @@ void RenderBox::computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logica
|
| // grab our cached flexible height.
|
| // FIXME: Account for block-flow in flexible boxes.
|
| // https://bugs.webkit.org/show_bug.cgi?id=46418
|
| - if (hasOverrideHeight() && parent()->isFlexibleBoxIncludingDeprecated())
|
| + if (hasOverrideHeight() && (parent()->isFlexibleBoxIncludingDeprecated() || parent()->isRenderGrid()))
|
| h = Length(overrideLogicalContentHeight(), Fixed);
|
| else if (treatAsReplaced)
|
| h = Length(computeReplacedLogicalHeight(), Fixed);
|
|
|