Home | History | Annotate | Download | only in rendering

Lines Matching defs:beforeChild

288 void RenderInline::addChild(RenderObject* newChild, RenderObject* beforeChild)
291 return addChildToContinuation(newChild, beforeChild);
292 return addChildIgnoringContinuation(newChild, beforeChild);
302 RenderBoxModelObject* RenderInline::continuationBefore(RenderObject* beforeChild)
304 if (beforeChild && beforeChild->parent() == this)
311 if (beforeChild && beforeChild->parent() == curr) {
312 if (curr->slowFirstChild() == beforeChild)
322 if (!beforeChild && !last->slowFirstChild())
327 void RenderInline::addChildIgnoringContinuation(RenderObject* newChild, RenderObject* beforeChild)
330 if (!beforeChild && isAfterContent(lastChild()))
331 beforeChild = lastChild();
337 // the children after |beforeChild| and put them in a clone of this object.
354 splitFlow(beforeChild, newBox, newChild, oldContinuation);
358 RenderBoxModelObject::addChild(newChild, beforeChild);
373 RenderObject* beforeChild, RenderBoxModelObject* oldCont)
380 // |beforeChild| may be the renderer for the fullscreened element. However,
383 // |beforeChild| to be the RenderFullScreen.
386 if (fullScreenElement && beforeChild && beforeChild->node() == fullScreenElement)
387 beforeChild = fullscreen->fullScreenRenderer();
390 // Now take all of the children from beforeChild to the end and remove
392 RenderObject* o = beforeChild;
461 void RenderInline::splitFlow(RenderObject* beforeChild, RenderBlock* newBlockBox,
503 splitInlines(pre, post, newBlockBox, beforeChild, oldCont);
519 void RenderInline::addChildToContinuation(RenderObject* newChild, RenderObject* beforeChild)
521 RenderBoxModelObject* flow = continuationBefore(beforeChild);
522 ASSERT(!beforeChild || beforeChild->parent()->isRenderBlock() || beforeChild->parent()->isRenderInline());
524 if (beforeChild)
525 beforeChildParent = toRenderBoxModelObject(beforeChild->parent());
535 return beforeChildParent->addChildIgnoringContinuation(newChild, beforeChild);
544 return flow->addChildIgnoringContinuation(newChild, beforeChild);
548 if (childInline == bcpInline || (beforeChild && beforeChild->isInline()))
549 return beforeChildParent->addChildIgnoringContinuation(newChild, beforeChild);
552 return beforeChildParent->addChildIgnoringContinuation(newChild, beforeChild);
1209 RenderObject* beforeChild = child->nextSibling();
1211 splitFlow(beforeChild, newBox, child, oldContinuation);