Home | History | Annotate | Download | only in rendering

Lines Matching refs:beforeChild

114 void RenderTable::addChild(RenderObject* child, RenderObject* beforeChild)
126 resetSectionPointerIfNotBefore(m_head, beforeChild);
130 resetSectionPointerIfNotBefore(m_firstBody, beforeChild);
137 resetSectionPointerIfNotBefore(m_foot, beforeChild);
145 resetSectionPointerIfNotBefore(m_firstBody, beforeChild);
162 if (beforeChild && beforeChild->parent() != this)
163 beforeChild = splitAnonymousBoxesAroundChild(beforeChild);
165 RenderBox::addChild(child, beforeChild);
169 if (!beforeChild && lastChild() && lastChild()->isTableSection() && lastChild()->isAnonymous() && !lastChild()->isBeforeContent()) {
174 if (beforeChild && !beforeChild->isAnonymous() && beforeChild->parent() == this) {
175 RenderObject* section = beforeChild->previousSibling();
182 RenderObject* lastBox = beforeChild;
186 if (beforeChild == lastBox)
187 beforeChild = lastBox->firstChild();
188 lastBox->addChild(child, beforeChild);
192 if (beforeChild && !beforeChild->isTableSection() && beforeChild->style()->display() != TABLE_CAPTION && beforeChild->style()->display() != TABLE_COLUMN_GROUP)
193 beforeChild = 0;
196 addChild(section, beforeChild);