• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/WebCore-7600.1.25/rendering/

Lines Matching defs:table

121     // If border was changed, notify table.
122 RenderTable* table = this->table();
123 if (table && !table->selfNeedsLayout() && !table->normalChildNeedsLayout() && oldStyle && oldStyle->border() != style().border())
124 table->invalidateCollapsedBorders();
132 // a new table which would require us to rebuild our structure.
205 unsigned effectiveColumnCount = std::max(1u, table()->numEffCols());
213 // will have drifted from the table's representation. Also recalcCells will call addCell
214 // at a later time after sync'ing our columns' with the table's.
220 const Vector<RenderTable::ColumnStruct>& columns = table()->columns();
225 // (see the annotation on table cell layouting in the CSS specs and the testcase below:
245 table()->appendColumn(cSpan);
249 table()->splitColumn(m_cCol, cSpan);
266 cell->setCol(table()->effColToCol(col));
281 if (this == table()->topSection())
282 spacing = table()->vBorderSpacing();
369 // Use table border-spacing even in non-top sections
370 spacing = table()->vBorderSpacing();
387 ASSERT(!table()->needsSectionRecalc());
395 const Vector<int>& columnPos = table()->columnPositions();
400 // First, propagate our table layout's information to the cells. This will mark the row as needing layout
411 ASSERT(endCol < table()->columns().size());
412 cspan -= table()->columns()[endCol].span;
415 int tableLayoutLogicalWidth = columnPos[endCol] - columnPos[startColumn] - table()->hBorderSpacing();
532 setLogicalWidth(table()->contentLogicalWidth());
535 int vspacing = table()->vBorderSpacing();
536 unsigned nEffCols = table()->numEffCols();
543 // FIXME: the x() position of the row should be table()->hBorderSpacing() so that it can
567 // do, but it will clip the cells that spill out of the table section. In
568 // strict mode, Mozilla and WinIE both regrow the table to accommodate the
578 || (!table()->style().logicalHeight().isAuto() && rHeight != cell->logicalHeight());
654 if (!table()->selfNeedsLayout() && cell->checkForRepaintDuringLayout())
681 unsigned nEffCols = table()->numEffCols();
725 unsigned totalCols = table()->numEffCols();
750 RenderTableCol* colGroup = table()->colElement(c);
776 unsigned totalCols = table()->numEffCols();
801 RenderTableCol* colGroup = table()->colElement(c);
827 unsigned totalCols = table()->numEffCols();
839 if (RenderTableCol* colGroup = table()->colElement(0)) {
866 return (borderWidth + (table()->style().isLeftToRightDirection() ? 0 : 1)) / 2;
871 unsigned totalCols = table()->numEffCols();
883 if (RenderTableCol* colGroup = table()->colElement(totalCols - 1)) {
910 return (borderWidth + (table()->style().isLeftToRightDirection() ? 1 : 0)) / 2;
952 unsigned totalCols = table()->columns().size();
993 RenderTableCol* column = table()->colElement(cell->col());
998 // the stack, since we have already opened a transparency layer (potentially) for the table row group.
1025 const Vector<int>& columnPos = table()->columnPositions();
1026 // FIXME: The table's direction should determine our row's direction, not the section's (see bug 96691).
1041 if (coveredRows.start() >= m_rowPos.size() - 1 && m_rowPos[m_rowPos.size() - 1] + table()->outerBorderAfter() >= damageRect.y())
1044 if (!coveredRows.end() && m_rowPos[0] - table()->outerBorderBefore() <= damageRect.maxY())
1057 const Vector<int>& columnPos = table()->columnPositions();
1059 if (coveredColumns.start() >= columnPos.size() - 1 && columnPos[columnPos.size() - 1] + table()->outerBorderEnd() >= damageRect.x())
1062 if (!coveredColumns.end() && columnPos[0] - table()->outerBorderStart() <= damageRect.maxX())
1095 const Vector<int>& columnPos = table()->columnPositions();
1169 return rowGroupRect.width().toInt() - (cell ? cell->x().toInt() + cell->width().toInt() : 0) + (!column ? outerBorderLeft(&style()) : column == table()->numEffCols() ? outerBorderRight(&style()) : 0);
1178 if (table()->currentBorderValue()->precedence() > BROWGROUP)
1191 horizontalRowGroupBorderWidth(cell, rowGroupRect, row, column), style.borderTop().width()), BSTop, CSSPropertyBorderTopColor, style.borderTopStyle(), table()->style().borderTopStyle());
1195 horizontalRowGroupBorderWidth(cell, rowGroupRect, row, column), style.borderBottom().width()), BSBottom, CSSPropertyBorderBottomColor, style.borderBottomStyle(), table()->style().borderBottomStyle());
1199 verticalRowGroupBorderHeight(cell, rowGroupRect, row)), BSLeft, CSSPropertyBorderLeftColor, style.borderLeftStyle(), table()->style().borderLeftStyle());
1203 verticalRowGroupBorderHeight(cell, rowGroupRect, row)), BSRight, CSSPropertyBorderRightColor, style.borderRightStyle(), table()->style().borderRightStyle());
1267 else if (c == table()->numEffCols())
1280 else if (!row && !table()->sectionAbove(this))
1308 unsigned totalCols = table()->columns().size();
1369 // and update its dimensions to be consistent with the table's column representation before we rebuild
1414 if (RenderTable* t = table())
1424 for (unsigned c = result; c < table()->numEffCols(); ++c) {
1448 unsigned adjoiningStartCellColumnIndex = hasSameDirectionAs(table()) ? 0 : table()->lastColumnIndex();
1454 unsigned adjoiningEndCellColumnIndex = hasSameDirectionAs(table()) ? table()->lastColumnIndex() : 0;
1507 // FIXME: We have to skip over inline flows, since they can show up inside table rows
1509 // table-specific hit-test method (which we should do for performance reasons anyway),
1561 if (!table()->collapseBorders())
1570 ASSERT(table()->collapseBorders());
1576 ASSERT(table()->collapseBorders());
1594 int horizontalBorderSpacing = table()->hBorderSpacing();
1596 // FIXME: The table's direction should determine our row's direction, not the section's (see bug 96691).
1598 cellLocation.setX(table()->columnPositions()[table()->numEffCols()] - table()->columnPositions()[table()->colToEffCol(cell->col() + cell->colSpan())] + horizontalBorderSpacing);
1600 cellLocation.setX(table()->columnPositions()[effectiveColumn] + horizontalBorderSpacing);