Home | History | Annotate | Download | only in rendering

Lines Matching refs:beforeChild

112 void RenderTable::addChild(RenderObject* child, RenderObject* beforeChild)
115 if (!beforeChild && isAfterContent(lastChild()))
116 beforeChild = lastChild();
122 if (beforeChild && m_caption) {
123 RenderObject* o = beforeChild->previousSibling();
142 resetSectionPointerIfNotBefore(m_head, beforeChild);
146 resetSectionPointerIfNotBefore(m_firstBody, beforeChild);
153 resetSectionPointerIfNotBefore(m_foot, beforeChild);
161 resetSectionPointerIfNotBefore(m_firstBody, beforeChild);
176 while (beforeChild && beforeChild->parent() != this)
177 beforeChild = beforeChild->parent();
179 RenderBox::addChild(child, beforeChild);
183 if (!beforeChild && lastChild() && lastChild()->isTableSection() && lastChild()->isAnonymous()) {
188 RenderObject* lastBox = beforeChild;
192 if (beforeChild == lastBox)
193 beforeChild = lastBox->firstChild();
194 lastBox->addChild(child, beforeChild);
198 if (beforeChild && !beforeChild->isTableSection() && beforeChild->style()->display() != TABLE_CAPTION && beforeChild->style()->display() != TABLE_COLUMN_GROUP)
199 beforeChild = 0;
205 addChild(section, beforeChild);