Home | History | Annotate | Download | only in rendering

Lines Matching refs:beforeChild

107 void RenderTableRow::addChild(RenderObject* child, RenderObject* beforeChild)
110 RenderObject* last = beforeChild;
114 if (beforeChild == last)
115 beforeChild = last->firstChild();
116 last->addChild(child, beforeChild);
120 if (beforeChild && !beforeChild->isAnonymous() && beforeChild->parent() == this) {
121 RenderObject* cell = beforeChild->previousSibling();
128 // If beforeChild is inside an anonymous cell, insert into the cell.
130 last->parent()->addChild(child, beforeChild);
135 addChild(cell, beforeChild);
140 if (beforeChild && beforeChild->parent() != this)
141 beforeChild = splitAnonymousBoxesAroundChild(beforeChild);
149 ASSERT(!beforeChild || beforeChild->isTableCell());
150 RenderBox::addChild(cell, beforeChild);
152 if (beforeChild || nextSibling())