Index: Source/core/rendering/FixedTableLayout.cpp |
diff --git a/Source/core/rendering/FixedTableLayout.cpp b/Source/core/rendering/FixedTableLayout.cpp |
index 25e4b83ffd3f5746cc2a6f0b066df58cfbec8e4a..d0474cb35ece085744f80ebe89274f3e3eb5f1f6 100644 |
--- a/Source/core/rendering/FixedTableLayout.cpp |
+++ b/Source/core/rendering/FixedTableLayout.cpp |
@@ -140,6 +140,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 |