Index: third_party/WebKit/Source/core/layout/TableLayoutAlgorithmAuto.cpp |
diff --git a/third_party/WebKit/Source/core/layout/TableLayoutAlgorithmAuto.cpp b/third_party/WebKit/Source/core/layout/TableLayoutAlgorithmAuto.cpp |
index 60b753b6118edc888be4cf82274c34f1ea90b36c..86b0d907ad1c477716379dfc73bda22ec0688ae5 100644 |
--- a/third_party/WebKit/Source/core/layout/TableLayoutAlgorithmAuto.cpp |
+++ b/third_party/WebKit/Source/core/layout/TableLayoutAlgorithmAuto.cpp |
@@ -195,7 +195,7 @@ static bool shouldScaleColumns(LayoutTable* table) |
if (cb && cb->isTableCell() |
&& (cb->style()->width().isAuto() || cb->style()->width().hasPercent())) { |
LayoutTableCell* cell = toLayoutTableCell(cb); |
- if (cell->colSpan() > 1 || cell->table()->style()->width().isAuto()) |
+ if (cell->colSpan() > 1 || cell->table()->isLogicalWidthAuto()) |
scale = false; |
else |
table = cell->table(); |