| Index: Source/WebCore/rendering/RenderTable.cpp
|
| ===================================================================
|
| --- Source/WebCore/rendering/RenderTable.cpp (revision 148763)
|
| +++ Source/WebCore/rendering/RenderTable.cpp (working copy)
|
| @@ -276,19 +276,10 @@
|
| setLogicalWidth(max<int>(logicalWidth(), minPreferredLogicalWidth()));
|
|
|
|
|
| - // Ensure we aren't bigger than our max-width style.
|
| - Length styleMaxLogicalWidth = style()->logicalMaxWidth();
|
| - if ((styleMaxLogicalWidth.isSpecified() && !styleMaxLogicalWidth.isNegative()) || styleMaxLogicalWidth.isIntrinsic()) {
|
| - LayoutUnit computedMaxLogicalWidth = convertStyleLogicalWidthToComputedWidth(styleMaxLogicalWidth, availableLogicalWidth);
|
| - setLogicalWidth(min<int>(logicalWidth(), computedMaxLogicalWidth));
|
| - }
|
| -
|
| // Ensure we aren't smaller than our min-width style.
|
| Length styleMinLogicalWidth = style()->logicalMinWidth();
|
| - if ((styleMinLogicalWidth.isSpecified() && !styleMinLogicalWidth.isNegative()) || styleMinLogicalWidth.isIntrinsic()) {
|
| - LayoutUnit computedMinLogicalWidth = convertStyleLogicalWidthToComputedWidth(styleMinLogicalWidth, availableLogicalWidth);
|
| - setLogicalWidth(max<int>(logicalWidth(), computedMinLogicalWidth));
|
| - }
|
| + if ((styleMinLogicalWidth.isSpecified() && styleMinLogicalWidth.isPositive()) || styleMinLogicalWidth.isIntrinsic())
|
| + setLogicalWidth(max<int>(logicalWidth(), convertStyleLogicalWidthToComputedWidth(styleMinLogicalWidth, availableLogicalWidth)));
|
|
|
| // Finally, with our true width determined, compute our margins for real.
|
| setMarginStart(0);
|
|
|