Home | History | Annotate | Download | only in rendering

Lines Matching refs:beforeChild

123 void RenderTableSection::addChild(RenderObject* child, RenderObject* beforeChild)
126 RenderObject* last = beforeChild;
130 if (beforeChild == last)
131 beforeChild = last->firstChild();
132 last->addChild(child, beforeChild);
136 if (beforeChild && !beforeChild->isAnonymous() && beforeChild->parent() == this) {
137 RenderObject* row = beforeChild->previousSibling();
144 // If beforeChild is inside an anonymous cell/row, insert into the cell or into
150 lastBox->addChild(child, beforeChild);
155 addChild(row, beforeChild);
160 if (beforeChild)
173 if (!beforeChild)
176 if (beforeChild && beforeChild->parent() != this)
177 beforeChild = splitAnonymousBoxesAroundChild(beforeChild);
179 ASSERT(!beforeChild || beforeChild->isTableRow());
180 RenderBox::addChild(child, beforeChild);