Index: Source/core/rendering/RenderBox.cpp |
diff --git a/Source/core/rendering/RenderBox.cpp b/Source/core/rendering/RenderBox.cpp |
index 359704559a03313081f889d910a52be670053f45..d5a1ec39f47d72ae142171f80857f23a4972144c 100644 |
--- a/Source/core/rendering/RenderBox.cpp |
+++ b/Source/core/rendering/RenderBox.cpp |
@@ -2684,6 +2684,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. |