Index: Source/core/rendering/RenderTable.cpp |
diff --git a/Source/core/rendering/RenderTable.cpp b/Source/core/rendering/RenderTable.cpp |
index ed3892362d30ddeb5e3e9d87e7bcf9755b5f2edc..36b82e5425e598927253bf86340dde9fb6417bc1 100644 |
--- a/Source/core/rendering/RenderTable.cpp |
+++ b/Source/core/rendering/RenderTable.cpp |
@@ -261,7 +261,7 @@ void RenderTable::updateLogicalWidth() |
RenderBlock* cb = containingBlock(); |
- LayoutUnit availableLogicalWidth = containingBlockLogicalWidthForContent(); |
+ LayoutUnit availableLogicalWidth = containingBlockLogicalWidthForContent() + (isOutOfFlowPositioned() ? cb->paddingLogicalWidth() : 0); |
bool hasPerpendicularContainingBlock = cb->style()->isHorizontalWritingMode() != style()->isHorizontalWritingMode(); |
LayoutUnit containerWidthInInlineDirection = hasPerpendicularContainingBlock ? perpendicularContainingBlockLogicalHeight() : availableLogicalWidth; |