| Index: Source/core/layout/LayoutTableCell.h
|
| diff --git a/Source/core/layout/LayoutTableCell.h b/Source/core/layout/LayoutTableCell.h
|
| index dab5358f2ca89d3681de535d3c62ec1239a3f41a..ab8c4471577ceaf4d56008ed8da47b2400074d17 100644
|
| --- a/Source/core/layout/LayoutTableCell.h
|
| +++ b/Source/core/layout/LayoutTableCell.h
|
| @@ -102,7 +102,9 @@ public:
|
|
|
| int logicalHeightFromStyle() const
|
| {
|
| - int styleLogicalHeight = valueForLength(style()->logicalHeight(), 0);
|
| + Length height = style()->logicalHeight();
|
| + int styleLogicalHeight = height.isIntrinsic() ? LayoutUnit() : valueForLength(height, LayoutUnit());
|
| +
|
| // In strict mode, box-sizing: content-box do the right thing and actually add in the border and padding.
|
| // Call computedCSSPadding* directly to avoid including implicitPadding.
|
| if (!document().inQuirksMode() && style()->boxSizing() != BORDER_BOX)
|
|
|