Chromium Code Reviews| Index: third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
| index 8fa39a5c14e57891d8c5695f4375d5eca196f561..c78a45ff4b002642ffadf9a89f73fcd8ce93d702 100644 |
| --- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
| @@ -234,7 +234,7 @@ void LayoutBlockFlow::checkForPaginationLogicalHeightChange(LayoutUnit& pageLogi |
| // definite, or we might fool ourselves into believing that columns have a definite height |
| // when they in fact don't. |
| LayoutUnit columnHeight; |
| - if (hasDefiniteLogicalHeight() || isLayoutView()) { |
| + if (!firstChildBox() || firstChildBox()->percentageLogicalHeightIsResolvable() || isLayoutView()) { |
|
cbiesinger
2016/06/07 18:05:56
Actually, wait, I don't think this is equivalent?
|
| LogicalExtentComputedValues computedValues; |
| computeLogicalHeight(LayoutUnit(), logicalTop(), computedValues); |
| columnHeight = computedValues.m_extent - borderAndPaddingLogicalHeight() - scrollbarLogicalHeight(); |