Chromium Code Reviews| Index: Source/core/rendering/RenderFlexibleBox.cpp |
| diff --git a/Source/core/rendering/RenderFlexibleBox.cpp b/Source/core/rendering/RenderFlexibleBox.cpp |
| index 6114d5654cd0fe113c50d191fd0a018597dff66b..ad21190b7b537ab08ee6b387b78d2fefa7c1c949 100644 |
| --- a/Source/core/rendering/RenderFlexibleBox.cpp |
| +++ b/Source/core/rendering/RenderFlexibleBox.cpp |
| @@ -1375,6 +1375,7 @@ void RenderFlexibleBox::applyStretchAlignmentToChild(RenderBox* child, LayoutUni |
| // FIXME: Can avoid laying out here in some cases. See https://webkit.org/b/87905. |
| if (desiredLogicalHeight != child->logicalHeight()) { |
| child->setOverrideLogicalContentHeight(desiredLogicalHeight - child->borderAndPaddingLogicalHeight()); |
| + child->setOverrideContainingBlockContentLogicalHeight(stretchedLogicalHeight - child->borderAndPaddingLogicalHeight()); |
|
cbiesinger
2014/06/24 03:01:28
I wrote this comment below before I thought of the
harpreet.sk
2014/06/24 07:57:00
I had made the changes to add desiredLogicalHeight
|
| child->setLogicalHeight(0); |
| child->forceChildLayout(); |
| } |