Index: Source/core/rendering/FixedTableLayout.cpp |
diff --git a/Source/core/rendering/FixedTableLayout.cpp b/Source/core/rendering/FixedTableLayout.cpp |
index 471e88be718a555d4ce918827aa6a11b53ef38d0..6c81ddbca575515ab0f0774b7290258cc5ae9bf0 100644 |
--- a/Source/core/rendering/FixedTableLayout.cpp |
+++ b/Source/core/rendering/FixedTableLayout.cpp |
@@ -138,6 +138,11 @@ int FixedTableLayout::calcWidthArray() |
RenderTableRow* firstRow = section->firstRow(); |
for (RenderTableCell* cell = firstRow->firstCell(); cell; cell = cell->nextCell()) { |
Length logicalWidth = cell->styleOrColLogicalWidth(); |
+ |
+ // FIXME: calc() on tables should be handled consistently with other lengths. See bug: https://crbug.com/382725 |
+ if (logicalWidth.isCalculated()) |
+ logicalWidth = Length(); // Make it Auto |
+ |
unsigned span = cell->colSpan(); |
int fixedBorderBoxLogicalWidth = 0; |
// FIXME: Support other length types. If the width is non-auto, it should probably just use |