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

Lines Matching defs:table

114     // The vast majority of table cells do not have a colspan or rowspan,
140 ASSERT(firstColForThisCell && firstColForThisCell == table()->colElement(col()));
172 // The child cells rely on the grids up in the sections to do their computePreferredLogicalWidths work. Normally the sections are set up early, as table
175 table()->recalcSectionsIfNeeded();
245 if (!table()->selfNeedsLayout() && checkForRepaintDuringLayout())
263 // table and row layout can use the correct baseline and height for this cell.
335 // If the table grid is dirty, we cannot get reliable information about adjoining cells,
337 // the table is going to recalculate the grid, relayout and repaint its current rect, which
339 if (!table()->collapseBorders() || table()->needsSectionRecalc())
349 if (RenderTableCell* before = table()->cellBefore(this)) {
355 if (RenderTableCell* after = table()->cellAfter(this)) {
361 if (RenderTableCell* above = table()->cellAbove(this)) {
367 if (RenderTableCell* below = table()->cellBelow(this)) {
396 // the first in-flow line box in the cell, or the first in-flow table-row in the cell, whichever comes first. If there
397 // is no such line box or table-row, the baseline is the bottom of content edge of the cell box.
420 // If border was changed, notify table.
422 RenderTable* table = this->table();
423 if (table && !table->selfNeedsLayout() && !table->normalChildNeedsLayout()&& oldStyle && oldStyle->border() != style().border())
424 table->invalidateCollapsedBorders();
439 // which wins over a row group, column, column group and, lastly, table. It is undefined which color
493 bool isEndColumn = table()->colToEffCol(col() + colSpan() - 1) == table()->numEffCols() - 1;
496 // The table direction determines the row direction. In mixed directionality, we cannot guarantee that
497 // we have a common border with the table (think a ltr table with rtl start cell).
504 bool isEndColumn = table()->colToEffCol(col() + colSpan() - 1) == table()->numEffCols() - 1;
507 // The table direction determines the row direction. In mixed directionality, we cannot guarantee that
508 // we have a common border with the table (think a ltr table with ltr end cell).
522 RenderTable* table = this->table();
531 RenderTableCell* cellBefore = table->cellBefore(this);
556 if (RenderTableCol* colElt = table->colElement(col(), &startColEdge, &endColEdge)) {
564 // its start border. This is as per HTML5 which states that: "For the purposes of the CSS table model,
580 if (RenderTableCol* colElt = table->colElement(col() - 1, &startColEdge, &endColEdge)) {
603 // (7) The table's start border.
604 result = chooseBorder(result, CollapsedBorderValue(table->tableStartBorderAdjoiningCell(this), includeColor ? table->style().visitedDependentColor(startColorProperty) : Color(), BTABLE));
622 RenderTable* table = this->table();
623 // Note: We have to use the effective column information instead of whether we have a cell after as a table doesn't
625 bool isEndColumn = table->colToEffCol(col() + colSpan() - 1) == table->numEffCols() - 1;
635 if (RenderTableCell* cellAfter = table->cellAfter(this)) {
659 if (RenderTableCol* colElt = table->colElement(col() + colSpan() - 1, &startColEdge, &endColEdge)) {
667 // HTML5 which states that: "For the purposes of the CSS table model, the col element is expected to be
683 if (RenderTableCol* colElt = table->colElement(col() + colSpan(), &startColEdge, &endColEdge)) {
705 // (7) The table's end border.
706 result = chooseBorder(result, CollapsedBorderValue(table->tableEndBorderAdjoiningCell(this), includeColor ? table->style().visitedDependentColor(endColorProperty) : Color(), BTABLE));
724 RenderTable* table = this->table();
732 RenderTableCell* prevCell = table->cellAbove(this);
769 currSection = table->sectionAbove(currSection, SkipEmptySections);
779 RenderTableCol* colElt = table->colElement(col());
791 // (9) The table's before border.
792 result = chooseBorder(result, CollapsedBorderValue(table->style().borderBefore(), includeColor ? table->style().visitedDependentColor(beforeColorProperty) : Color(), BTABLE));
810 RenderTable* table = this->table();
818 RenderTableCell* nextCell = table->cellBelow(this);
847 currSection = table->sectionBelow(currSection, SkipEmptySections);
857 RenderTableCol* colElt = table->colElement(col());
868 // (9) The table's after border.
869 result = chooseBorder(result, CollapsedBorderValue(table->style().borderAfter(), includeColor ? table->style().visitedDependentColor(afterColorProperty) : Color(), BTABLE));
908 return styleForCellFlow->isLeftToRightDirection() ? table()->cellBefore(this) : table()->cellAfter(this);
909 return styleForCellFlow->isFlippedBlocksWritingMode() ? table()->cellBelow(this) : table()->cellAbove(this);
915 return styleForCellFlow->isLeftToRightDirection() ? table()->cellAfter(this) : table()->cellBefore(this);
916 return styleForCellFlow->isFlippedBlocksWritingMode() ? table()->cellAbove(this) : table()->cellBelow(this);
922 return styleForCellFlow->isFlippedBlocksWritingMode() ? table()->cellBelow(this) : table()->cellAbove(this);
923 return styleForCellFlow->isLeftToRightDirection() ? table()->cellBefore(this) : table()->cellAfter(this);
929 return styleForCellFlow->isFlippedBlocksWritingMode() ? table()->cellAbove(this) : table()->cellBelow(this);
930 return styleForCellFlow->isLeftToRightDirection() ? table()->cellAfter(this) : table()->cellBefore(this);
935 return table()->collapseBorders() ? LayoutUnit::fromPixel(borderHalfLeft(false)) : RenderBlockFlow::borderLeft();
940 return table()->collapseBorders() ? LayoutUnit::fromPixel(borderHalfRight(false)) : RenderBlockFlow::borderRight();
945 return table()->collapseBorders() ? LayoutUnit::fromPixel(borderHalfTop(false)) : RenderBlockFlow::borderTop();
950 return table()->collapseBorders() ? LayoutUnit::fromPixel(borderHalfBottom(false)) : RenderBlockFlow::borderBottom();
957 return table()->collapseBorders() ? LayoutUnit::fromPixel(borderHalfStart(false)) : RenderBlockFlow::borderStart();
962 return table()->collapseBorders() ? LayoutUnit::fromPixel(borderHalfEnd(false)) : RenderBlockFlow::borderEnd();
967 return table()->collapseBorders() ? LayoutUnit::fromPixel(borderHalfBefore(false)) : RenderBlockFlow::borderBefore();
972 return table()->collapseBorders() ? LayoutUnit::fromPixel(borderHalfAfter(false)) : RenderBlockFlow::borderAfter();
1150 if (paintRect.y() - table()->outerBorderTop() >= localRepaintRect.maxY())
1153 if (paintRect.maxY() + table()->outerBorderBottom() <= localRepaintRect.y())
1157 if (!table()->currentBorderValue() || graphicsContext->paintingDisabled())
1198 if (border->borderValue.isSameIgnoringColor(*table()->currentBorderValue()))
1215 RenderTable* tableElt = table();
1245 RenderTable* tableElt = table();
1268 RenderTable* tableElt = table();