| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| index 5a67a96d661ebf8b22efa0669535b77ca7ee773e..849a598d9e47e93fb015b37545ebdf93ac7ce6d8 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -2743,11 +2743,8 @@ LayoutUnit LayoutBox::computePercentageLogicalHeight(const Length& height) const
|
| LayoutUnit contentBoxHeight = cb->adjustContentBoxLogicalHeightForBoxSizing(cbstyle.logicalHeight().value());
|
| availableHeight = cb->constrainContentBoxLogicalHeightByMinMax(
|
| contentBoxHeight - cb->scrollbarLogicalHeight(), LayoutUnit(-1)).clampNegativeToZero();
|
| - if (cb->isTableCell()) {
|
| + if (cb->isTableCell())
|
| includeBorderPadding = true;
|
| - // We're sizing content to the height from the cell's style so don't involve the intrinsic padding used to align the content.
|
| - availableHeight -= cb->computedCSSPaddingBefore() + cb->computedCSSPaddingAfter() + cb->borderBefore() + cb->borderAfter();
|
| - }
|
| } else if (cb->isTableCell()) {
|
| if (!skippedAutoHeightContainingBlock) {
|
| // Table cells violate what the CSS spec says to do with heights. Basically we
|
|
|