overflow content.
*/
-using namespace std;
-
-namespace WebCore {
+namespace blink {
FixedTableLayout::FixedTableLayout(RenderTable* table)
: TableLayout(table)
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
}
}
-} // namespace WebCore
+} // namespace blink