Index: Source/core/rendering/RenderBox.cpp |
diff --git a/Source/core/rendering/RenderBox.cpp b/Source/core/rendering/RenderBox.cpp |
index 92909837daab0c2cdb153ab6dced0a56b7772107..9a09f6a94673ef34737d88967bd9356281670f62 100644 |
--- a/Source/core/rendering/RenderBox.cpp |
+++ b/Source/core/rendering/RenderBox.cpp |
@@ -2770,6 +2770,9 @@ LayoutUnit RenderBox::computePercentageLogicalHeight(const Length& height) const |
availableHeight -= rootMarginBorderPaddingHeight; |
+ if (isTable() && isOutOfFlowPositioned()) |
+ availableHeight += cb->paddingLogicalHeight(); |
+ |
LayoutUnit result = valueForLength(height, availableHeight); |
if (includeBorderPadding) { |
// FIXME: Table cells should default to box-sizing: border-box so we can avoid this hack. |