| Index: Source/core/rendering/RenderTable.cpp
|
| diff --git a/Source/core/rendering/RenderTable.cpp b/Source/core/rendering/RenderTable.cpp
|
| index 46cd22b6b89cbc26c1c998cb0b03e212cc78a462..3f23ef36f2eceac0d6881fe89189de928b2aeca5 100644
|
| --- a/Source/core/rendering/RenderTable.cpp
|
| +++ b/Source/core/rendering/RenderTable.cpp
|
| @@ -305,12 +305,9 @@ void RenderTable::updateLogicalWidth()
|
| setMarginStart(0);
|
| setMarginEnd(0);
|
| if (!hasPerpendicularContainingBlock) {
|
| - LayoutUnit containerLogicalWidthForAutoMargins = availableLogicalWidth;
|
| - if (avoidsFloats() && cb->containsFloats())
|
| - containerLogicalWidthForAutoMargins = containingBlockAvailableLineWidth();
|
| ComputedMarginValues marginValues;
|
| bool hasInvertedDirection = cb->style()->isLeftToRightDirection() == style()->isLeftToRightDirection();
|
| - computeInlineDirectionMargins(cb, containerLogicalWidthForAutoMargins, logicalWidth(),
|
| + computeInlineDirectionMargins(cb, availableLogicalWidth, logicalWidth(),
|
| hasInvertedDirection ? marginValues.m_start : marginValues.m_end,
|
| hasInvertedDirection ? marginValues.m_end : marginValues.m_start);
|
| setMarginStart(marginValues.m_start);
|
|
|