Home | History | Annotate | Download | only in rendering

Lines Matching full:cell

70                 RenderTableCell* cell = current.cell;
72 bool cellHasContent = cell && (cell->firstChild() || cell->style()->hasBorder() || cell->style()->hasPadding());
78 if (cell && cell->colSpan() == 1) {
79 // A cell originates in this column. Ensure we have
83 if (cell->prefWidthsDirty())
84 cell->calcPrefWidths();
85 l.minWidth = max(cell->minPrefWidth(), l.minWidth);
86 if (cell->maxPrefWidth() > l.maxWidth) {
87 l.maxWidth = cell->maxPrefWidth();
88 maxContributor = cell;
91 Length w = cell->styleOrColWidth();
101 int wval = cell->calcBorderBoxWidth(w.value());
105 ((l.width.value() == wval) && (maxContributor == cell))) {
107 fixedContributor = cell;
111 fixedContributor = cell;
129 if (cell && (!effCol || section->cellAt(i, effCol-1).cell != cell)) {
130 // This spanning cell originates in this column. Ensure we have
134 insertSpanCell(cell);
136 last = cell;
214 // a cell, then don't bloat the maxwidth by examining percentage growth.
230 RenderTableCell* cell = toRenderTableCell(cb);
231 if (cell->colSpan() > 1 || cell->table()->style()->width().isAuto())
234 table = cell->table();
311 RenderTableCell *cell = m_spanCells[i];
312 if (!cell)
314 int span = cell->colSpan();
316 Length w = cell->styleOrColWidth();
320 int col = m_table->colToEffCol(cell->col());
322 int cMinWidth = cell->minPrefWidth() + hspacing;
323 float cMaxWidth = cell->maxPrefWidth() + hspacing;
351 // If the column is a percentage width, do not let the spanning cell overwrite the
408 // make sure minWidth and maxWidth of the spanning cell are honoured
473 void AutoTableLayout::insertSpanCell(RenderTableCell *cell)
475 if (!cell || cell->colSpan() == 1)
488 int span = cell->colSpan();
492 m_spanCells[pos] = cell;
526 // fill up every cell with its minWidth
671 // If we have overallocated, reduce every cell according to the difference between desired width and minwidth