Home | History | Annotate | Download | only in rendering

Lines Matching defs:section

162         // If the next renderer is actually wrapped in an anonymous table section, we need to go up and find that.
185 RenderTableSection* section = new (renderArena()) RenderTableSection(document() /* anonymous */);
189 section->setStyle(newStyle.release());
190 addChild(section, beforeChild);
191 section->addChild(child);
342 RenderTableSection* section = toRenderTableSection(child);
343 calculatedHeight += section->calcRowHeight();
345 section->recalcOuterBorder();
346 ASSERT(!section->needsLayout());
357 // If any table section moved vertically, we will just repaint everything from that
358 // section down (it is quite unlikely that any of the following sections
413 RenderTableSection* section = m_head ? m_head : (m_firstBody ? m_firstBody : m_foot);
414 while (section) {
415 if (!sectionMoved && section->y() != height()) {
417 movedSectionTop = min(height(), section->y()) + section->topVisibleOverflow();
419 section->setLocation(bl, height());
421 setHeight(height() + section->height());
422 section = sectionBelow(section);
461 RenderTableSection* section = toRenderTableSection(child);
462 addOverflowFromChild(section);
713 RenderTableSection* section = toRenderTableSection(child);
715 m_head = section;
717 m_firstBody = section;
718 section->recalcCellsIfNeeded();
723 RenderTableSection* section = toRenderTableSection(child);
725 m_foot = section;
727 m_firstBody = section;
728 section->recalcCellsIfNeeded();
733 RenderTableSection* section = toRenderTableSection(child);
735 m_firstBody = section;
736 section->recalcCellsIfNeeded();
744 // repair column count (addChild can grow it too much, because it always adds elements to the last row of a section)
748 RenderTableSection* section = toRenderTableSection(child);
749 int sectionCols = section->numColumns();
766 // Determined by the first cell of the first row. See the CSS 2.1 spec, section 17.6.2.
825 // Determined by the last cell of the first row. See the CSS 2.1 spec, section 17.6.2.
1014 RenderTableSection* RenderTable::sectionAbove(const RenderTableSection* section, bool skipEmptySections) const
1018 if (section == m_head)
1021 RenderObject* prevSection = section == m_foot ? lastChild() : section->previousSibling();
1032 RenderTableSection* RenderTable::sectionBelow(const RenderTableSection* section, bool skipEmptySections) const
1036 if (section == m_foot)
1039 RenderObject* nextSection = section == m_head ? firstChild() : section->nextSibling();
1054 // Find the section and row to look in
1056 RenderTableSection* section = 0;
1059 // cell is not in the first row, so use the above row in its own section
1060 section = cell->section();
1063 section = sectionAbove(cell->section(), true);
1064 if (section)
1065 rAbove = section->numRows() - 1;
1068 // Look up the cell in the section's grid, which requires effective col index
1069 if (section) {
1074 aboveCell = section->cellAt(rAbove, effCol);
1086 // Find the section and row to look in
1088 RenderTableSection* section = 0;
1090 if (r < cell->section()->numRows() - 1) {
1091 // The cell is not in the last row, so use the next row in the section.
1092 section = cell->section();
1095 section = sectionBelow(cell->section(), true);
1096 if (section)
1100 // Look up the cell in the section's grid, which requires effective col index
1101 if (section) {
1106 belowCell = section->cellAt(rBelow, effCol);
1118 RenderTableSection* section = cell->section();
1126 prevCell = section->cellAt(cell->row(), effCol - 1);
1139 return cell->section()->cellAt(cell->row(), effCol).cell;