| Index: third_party/WebKit/Source/core/layout/LayoutGrid.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
|
| index 6d8864e4a0d6d97a786ebe9bb66b5cfebf6bd4b9..3c3a5d782722513eb6be5a6c686227e1407e33fc 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
|
| @@ -818,8 +818,7 @@ GridTrackSize LayoutGrid::gridTrackSize(GridTrackSizingDirection direction, size
|
| if (minTrackBreadth.hasPercentage() || maxTrackBreadth.hasPercentage()) {
|
| // For the inline axis this only happens when we're computing the intrinsic sizes (AvailableSpaceIndefinite).
|
| // For the block axis we check that the percentage height is resolvable on the first in-flow child.
|
| - // TODO (lajava) This condition for determining whether a size is indefinite or not is not working correctly for orthogonal flows.
|
| - if ((sizingOperation == IntrinsicSizeComputation) || (direction == ForRows && firstInFlowChildBox() && !firstInFlowChildBox()->percentageLogicalHeightIsResolvable())) {
|
| + if ((sizingOperation == IntrinsicSizeComputation) || (direction == ForRows && !hasDefiniteLogicalHeight())) {
|
| if (minTrackBreadth.hasPercentage())
|
| minTrackBreadth = Length(Auto);
|
| if (maxTrackBreadth.hasPercentage())
|
|
|