Home | History | Annotate | Download | only in rendering

Lines Matching defs:beforeChild

260 void RenderInline::addChild(RenderObject* newChild, RenderObject* beforeChild)
263 return addChildToContinuation(newChild, beforeChild);
264 return addChildIgnoringContinuation(newChild, beforeChild);
274 RenderBoxModelObject* RenderInline::continuationBefore(RenderObject* beforeChild)
276 if (beforeChild && beforeChild->parent() == this)
283 if (beforeChild && beforeChild->parent() == curr) {
284 if (curr->firstChild() == beforeChild)
294 if (!beforeChild && !last->firstChild())
299 void RenderInline::addChildIgnoringContinuation(RenderObject* newChild, RenderObject* beforeChild)
302 if (!beforeChild && isAfterContent(lastChild()))
303 beforeChild = lastChild();
309 // the children after |beforeChild| and put them in a clone of this object.
322 splitFlow(beforeChild, newBox, newChild, oldContinuation);
326 RenderBoxModelObject::addChild(newChild, beforeChild);
341 RenderObject* beforeChild, RenderBoxModelObject* oldCont)
348 // |beforeChild| may be the renderer for the fullscreened element. However,
351 // |beforeChild| to be the RenderFullScreen.
354 if (fullScreenElement && beforeChild && beforeChild->node() == fullScreenElement)
355 beforeChild = fullscreen->fullScreenRenderer();
358 // Now take all of the children from beforeChild to the end and remove
360 RenderObject* o = beforeChild;
429 void RenderInline::splitFlow(RenderObject* beforeChild, RenderBlock* newBlockBox,
470 splitInlines(pre, post, newBlockBox, beforeChild, oldCont);
486 void RenderInline::addChildToContinuation(RenderObject* newChild, RenderObject* beforeChild)
488 RenderBoxModelObject* flow = continuationBefore(beforeChild);
489 ASSERT(!beforeChild || beforeChild->parent()->isRenderBlock() || beforeChild->parent()->isRenderInline());
491 if (beforeChild)
492 beforeChildParent = toRenderBoxModelObject(beforeChild->parent());
502 return beforeChildParent->addChildIgnoringContinuation(newChild, beforeChild);
511 return flow->addChildIgnoringContinuation(newChild, beforeChild);
516 return beforeChildParent->addChildIgnoringContinuation(newChild, beforeChild);
520 return beforeChildParent->addChildIgnoringContinuation(newChild, beforeChild);
1209 RenderObject* beforeChild = child->nextSibling();
1211 splitFlow(beforeChild, newBox, child, oldContinuation);