Lines Matching full:child
103 void RenderTable::addChild(RenderObject* child, RenderObject* beforeChild)
109 bool wrapInAnonymousSection = !child->isPositioned();
111 if (child->isRenderBlock() && child->style()->display() == TABLE_CAPTION) {
121 m_caption = toRenderBlock(child);
123 } else if (child->isTableCol()) {
126 } else if (child->isTableSection()) {
127 switch (child->style()->display()) {
131 m_head = toRenderTableSection(child);
135 m_firstBody = toRenderTableSection(child);
142 m_foot = toRenderTableSection(child);
150 m_firstBody = toRenderTableSection(child);
156 } else if (child->isTableCell() || child->isTableRow())
166 RenderBox::addChild(child, beforeChild);
171 lastChild()->addChild(child);
179 lastBox->addChild(child, beforeChild);
191 section->addChild(child);
290 RenderObject* child = firstChild();
291 while (child) {
292 if (child->isTable()) {
296 child = child->nextInPreOrder();
323 // layout child objects
329 for (RenderObject* child = firstChild(); child; child = child->nextSibling()) {
332 child->setNeedsLayout(true, false);
333 if (!child->isTableSection()) {
334 child->layoutIfNeeded();
340 if (child->isTableSection()) {
341 child->layoutIfNeeded();
342 RenderTableSection* section = toRenderTableSection(child);
347 } else if (child->isTableCol()) {
348 child->layoutIfNeeded();
349 ASSERT(!child->needsLayout());
396 for (RenderObject* child = firstChild(); child; child = child->nextSibling()) {
397 if (child->isTableSection())
399 toRenderTableSection(child)->layoutRows(child == m_firstBody ? max(0, th - calculatedHeight) : 0);
459 for (RenderObject* child = firstChild(); child; child = child->nextSibling()) {
460 if (child->isTableSection()) {
461 RenderTableSection* section = toRenderTableSection(child);
478 for (RenderObject* child = firstChild(); child; child = child->nextSibling()) {
479 if (child->isTableSection())
480 toRenderTableSection(child)->setCellWidths();
526 for (RenderObject* child = firstChild(); child; child = child->nextSibling()) {
527 if (child->isBox() && !toRenderBox(child)->hasSelfPaintingLayer() && (child->isTableSection() || child == m_caption))
528 child->paint(info, tx, ty);
545 for (RenderObject* child = firstChild(); child; child = child->nextSibling())
546 if (child->isTableSection())
547 child->paint(info, tx, ty);
624 for (RenderObject* child = firstChild(); child; child = child->nextSibling()) {
625 if (child->isTableSection())
626 toRenderTableSection(child)->splitColumn(pos, oldSize + 1);
642 for (RenderObject* child = firstChild(); child; child = child->nextSibling()) {
643 if (child->isTableSection())
644 toRenderTableSection(child)->appendColumn(pos);
655 RenderObject* child = firstChild();
658 while (child) {
659 if (child->isTableCol()) {
660 RenderTableCol* colElem = toRenderTableCol(child);
675 RenderObject* next = child->firstChild();
677 next = child->nextSibling();
678 if (!next && child->parent()->isTableCol())
679 next = child->parent()->nextSibling();
680 child = next;
681 } else if (child == m_caption)
682 child = child->nextSibling();
699 for (RenderObject* child = firstChild(); child; child = child->nextSibling()) {
700 switch (child->style()->display()) {
702 if (!m_caption && child->isRenderBlock()) {
703 m_caption = toRenderBlock(child);
712 if (child->isTableSection()) {
713 RenderTableSection* section = toRenderTableSection(child);
722 if (child->isTableSection()) {
723 RenderTableSection* section = toRenderTableSection(child);
732 if (child->isTableSection()) {
733 RenderTableSection* section = toRenderTableSection(child);
746 for (RenderObject* child = firstChild(); child; child = child->nextSibling()) {
747 if (child->isTableSection()) {
748 RenderTableSection* section = toRenderTableSection(child);
937 RenderObject* child;
938 for (child = lastChild(); child && !child->isTableSection(); child = child->previousSibling()) { }
939 bottomSection = child ? toRenderTableSection(child) : 0;
968 for (RenderObject* child = firstChild(); child; child = child->nextSibling()) {
969 if (!child->isTableSection())
971 int sw = toRenderTableSection(child)->outerBorderLeft();
998 for (RenderObject* child = firstChild(); child; child = child->nextSibling()) {
999 if (!child->isTableSection())
1001 int sw = toRenderTableSection(child)->outerBorderRight();
1188 for (RenderObject* child = lastChild(); child; child = child->previousSibling()) {
1189 if (child->isBox() && !toRenderBox(child)->hasSelfPaintingLayer() && (child->isTableSection() || child == m_caption) &&
1190 child->nodeAtPoint(request, result, xPos, yPos, tx, ty, action)) {