diff options
Diffstat (limited to 'Source/WebCore/rendering/RenderTableCell.h')
-rw-r--r-- | Source/WebCore/rendering/RenderTableCell.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/WebCore/rendering/RenderTableCell.h b/Source/WebCore/rendering/RenderTableCell.h index bd69f09e3..17a0171a0 100644 --- a/Source/WebCore/rendering/RenderTableCell.h +++ b/Source/WebCore/rendering/RenderTableCell.h @@ -284,6 +284,8 @@ inline LayoutUnit RenderTableCell::logicalHeightForRowSizing() const { // FIXME: This function does too much work, and is very hot during table layout! LayoutUnit adjustedLogicalHeight = logicalHeight() - (intrinsicPaddingBefore() + intrinsicPaddingAfter()); + if (!style().logicalHeight().isSpecified()) + return adjustedLogicalHeight; LayoutUnit styleLogicalHeight = valueForLength(style().logicalHeight(), 0); // 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. |