Home
last modified time | relevance | path

Searched refs:beforeChild (Results 1 – 25 of 44) sorted by relevance

12

/external/webkit/Source/WebCore/rendering/
DRenderTableRow.cpp83 void RenderTableRow::addChild(RenderObject* child, RenderObject* beforeChild) in addChild() argument
86 if (!beforeChild && isAfterContent(lastChild())) in addChild()
87 beforeChild = lastChild(); in addChild()
90 RenderObject* last = beforeChild; in addChild()
94 if (beforeChild == last) in addChild()
95 beforeChild = last->firstChild(); in addChild()
96 last->addChild(child, beforeChild); in addChild()
102 last->parent()->addChild(child, beforeChild); in addChild()
111 addChild(cell, beforeChild); in addChild()
117 while (beforeChild && beforeChild->parent() != this) in addChild()
[all …]
DRenderRuby.cpp122 void RenderRubyAsInline::addChild(RenderObject* child, RenderObject* beforeChild) in addChild() argument
158 RenderInline::addChild(child, beforeChild); in addChild()
162 if (beforeChild && !isAfterContent(beforeChild)) { in addChild()
164 ASSERT(!beforeChild->isRubyRun()); in addChild()
165 RenderObject* run = beforeChild; in addChild()
169 run->addChild(child, beforeChild); in addChild()
223 void RenderRubyAsBlock::addChild(RenderObject* child, RenderObject* beforeChild) in addChild() argument
259 RenderBlock::addChild(child, beforeChild); in addChild()
263 if (beforeChild && !isAfterContent(beforeChild)) { in addChild()
265 ASSERT(!beforeChild->isRubyRun()); in addChild()
[all …]
DRenderRubyRun.cpp109 void RenderRubyRun::addChild(RenderObject* child, RenderObject* beforeChild) in addChild() argument
114 if (!beforeChild) { in addChild()
119 } else if (beforeChild->isRubyText()) { in addChild()
123 ASSERT(beforeChild->parent() == this); in addChild()
132 RenderBlock::addChild(child, beforeChild); in addChild()
133 RenderBlock::removeChild(beforeChild); in addChild()
134 newRun->addChild(beforeChild); in addChild()
142 rubyBaseSafe()->moveChildren(newRun->rubyBaseSafe(), beforeChild); in addChild()
147 if (beforeChild && beforeChild->isRubyText()) in addChild()
148 beforeChild = 0; in addChild()
[all …]
DRenderDetails.cpp58 void RenderDetails::addChild(RenderObject* newChild, RenderObject* beforeChild) in addChild() argument
60 if (beforeChild && beforeChild == m_mainSummary) in addChild()
61 beforeChild = getRenderPosition(m_mainSummary); in addChild()
62 contentBlock()->addChild(newChild, beforeChild); in addChild()
DRenderObjectChildList.cpp191 …nsertChildNode(RenderObject* owner, RenderObject* child, RenderObject* beforeChild, bool fullInser… in insertChildNode() argument
193 if (!beforeChild) { in insertChildNode()
199 while (beforeChild->parent() != owner && beforeChild->parent()->isAnonymousBlock()) in insertChildNode()
200 beforeChild = beforeChild->parent(); in insertChildNode()
201 ASSERT(beforeChild->parent() == owner); in insertChildNode()
205 if (beforeChild == firstChild()) in insertChildNode()
208 RenderObject* prev = beforeChild->previousSibling(); in insertChildNode()
209 child->setNextSibling(beforeChild); in insertChildNode()
210 beforeChild->setPreviousSibling(child); in insertChildNode()
DRenderTable.cpp111 void RenderTable::addChild(RenderObject* child, RenderObject* beforeChild) in addChild() argument
114 if (!beforeChild && isAfterContent(lastChild())) in addChild()
115 beforeChild = lastChild(); in addChild()
121 if (beforeChild && m_caption) { in addChild()
122 RenderObject* o = beforeChild->previousSibling(); in addChild()
141 resetSectionPointerIfNotBefore(m_head, beforeChild); in addChild()
145 resetSectionPointerIfNotBefore(m_firstBody, beforeChild); in addChild()
152 resetSectionPointerIfNotBefore(m_foot, beforeChild); in addChild()
160 resetSectionPointerIfNotBefore(m_firstBody, beforeChild); in addChild()
175 while (beforeChild && beforeChild->parent() != this) in addChild()
[all …]
DRenderInline.h40 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0);
108 void addChildToContinuation(RenderObject* newChild, RenderObject* beforeChild);
109 … virtual void addChildIgnoringContinuation(RenderObject* newChild, RenderObject* beforeChild = 0);
112 RenderObject* beforeChild, RenderBoxModelObject* oldCont);
113 void splitFlow(RenderObject* beforeChild, RenderBlock* newBlockBox,
166 RenderBoxModelObject* continuationBefore(RenderObject* beforeChild);
DRenderInline.cpp197 void RenderInline::addChild(RenderObject* newChild, RenderObject* beforeChild) in addChild() argument
200 return addChildToContinuation(newChild, beforeChild); in addChild()
201 return addChildIgnoringContinuation(newChild, beforeChild); in addChild()
211 RenderBoxModelObject* RenderInline::continuationBefore(RenderObject* beforeChild) in continuationBefore() argument
213 if (beforeChild && beforeChild->parent() == this) in continuationBefore()
220 if (beforeChild && beforeChild->parent() == curr) { in continuationBefore()
221 if (curr->firstChild() == beforeChild) in continuationBefore()
231 if (!beforeChild && !last->firstChild()) in continuationBefore()
236 void RenderInline::addChildIgnoringContinuation(RenderObject* newChild, RenderObject* beforeChild) in addChildIgnoringContinuation() argument
239 if (!beforeChild && isAfterContent(lastChild())) in addChildIgnoringContinuation()
[all …]
DRenderBlock.cpp313 RenderBlock* RenderBlock::continuationBefore(RenderObject* beforeChild) in continuationBefore() argument
315 if (beforeChild && beforeChild->parent() == this) in continuationBefore()
322 if (beforeChild && beforeChild->parent() == curr) { in continuationBefore()
323 if (curr->firstChild() == beforeChild) in continuationBefore()
333 if (!beforeChild && !last->firstChild()) in continuationBefore()
338 void RenderBlock::addChildToContinuation(RenderObject* newChild, RenderObject* beforeChild) in addChildToContinuation() argument
340 RenderBlock* flow = continuationBefore(beforeChild); in addChildToContinuation()
341 …ASSERT(!beforeChild || beforeChild->parent()->isAnonymousColumnSpanBlock() || beforeChild->parent(… in addChildToContinuation()
343 if (beforeChild) in addChildToContinuation()
344 beforeChildParent = toRenderBoxModelObject(beforeChild->parent()); in addChildToContinuation()
[all …]
DRenderBlock.h77 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0);
236 …void moveChildTo(RenderBlock* to, RenderObject* child, RenderObject* beforeChild, bool fullRemoveI…
241 … void moveAllChildrenTo(RenderBlock* to, RenderObject* beforeChild, bool fullRemoveInsert = false)
243 return moveChildrenTo(to, firstChild(), 0, beforeChild, fullRemoveInsert);
251 …k* to, RenderObject* startChild, RenderObject* endChild, RenderObject* beforeChild, bool fullRemov…
342 void addChildToContinuation(RenderObject* newChild, RenderObject* beforeChild);
343 void addChildIgnoringContinuation(RenderObject* newChild, RenderObject* beforeChild);
344 void addChildToAnonymousColumnBlocks(RenderObject* newChild, RenderObject* beforeChild);
345 … void addChildIgnoringAnonymousColumnBlocks(RenderObject* newChild, RenderObject* beforeChild = 0);
615 …void makeChildrenAnonymousColumnBlocks(RenderObject* beforeChild, RenderBlock* newBlockBox, Render…
[all …]
DRenderRuby.h59 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0);
75 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0);
DRenderTableSection.cpp93 void RenderTableSection::addChild(RenderObject* child, RenderObject* beforeChild) in addChild() argument
96 if (!beforeChild && isAfterContent(lastChild())) in addChild()
97 beforeChild = lastChild(); in addChild()
100 RenderObject* last = beforeChild; in addChild()
104 if (beforeChild == last) in addChild()
105 beforeChild = last->firstChild(); in addChild()
106 last->addChild(child, beforeChild); in addChild()
116 lastBox->addChild(child, beforeChild); in addChild()
125 addChild(row, beforeChild); in addChild()
130 if (beforeChild) in addChild()
[all …]
DRenderButton.cpp52 void RenderButton::addChild(RenderObject* newChild, RenderObject* beforeChild) in addChild() argument
63 m_inner->addChild(newChild, beforeChild); in addChild()
DRenderRubyBase.cpp56 bool RenderRubyBase::hasOnlyWrappedInlineChildren(RenderObject* beforeChild) const in hasOnlyWrappedInlineChildren()
61 for (RenderObject* child = firstChild(); child != beforeChild; child = child->nextSibling()) { in hasOnlyWrappedInlineChildren()
DRenderRubyBase.h55 bool hasOnlyWrappedInlineChildren(RenderObject* beforeChild = 0) const;
DRenderDetails.h43 virtual void addChild(RenderObject* newChild, RenderObject *beforeChild = 0);
DRenderButton.h43 virtual void addChild(RenderObject* newChild, RenderObject *beforeChild = 0);
/external/webkit/Source/WebCore/rendering/mathml/
DRenderMathMLUnderOver.cpp58 void RenderMathMLUnderOver::addChild(RenderObject* child, RenderObject* beforeChild) in addChild() argument
76 RenderBlock::addChild(row, beforeChild); in addChild()
87 RenderBlock::addChild(row, beforeChild); in addChild()
99 RenderBlock::addChild(row, beforeChild); in addChild()
106 RenderBlock::addChild(row, beforeChild); in addChild()
DRenderMathMLSubSup.cpp64 void RenderMathMLSubSup::addChild(RenderObject* child, RenderObject* beforeChild) in addChild() argument
79 RenderMathMLBlock::addChild(m_scripts, beforeChild); in addChild()
91 RenderMathMLBlock::addChild(child, beforeChild); in addChild()
100 RenderMathMLBlock::addChild(wrapper, beforeChild); in addChild()
DRenderMathMLRoot.h38 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0);
DRenderMathMLFraction.cpp101 void RenderMathMLFraction::addChild(RenderObject* child, RenderObject* beforeChild) in addChild() argument
117 RenderBlock::addChild(row, beforeChild); in addChild()
DRenderMathMLFenced.h38 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0);
DRenderMathMLFraction.h39 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0);
DRenderMathMLUnderOver.h39 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0);
DRenderMathMLSubSup.h40 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0);

12