Home | History | Annotate | Download | only in rendering

Lines Matching refs:newChild

192 void CounterNode::insertAfter(CounterNode* newChild, CounterNode* refChild, const AtomicString& identifier)
194 ASSERT(newChild);
195 ASSERT(!newChild->m_parent);
196 ASSERT(!newChild->m_previousSibling);
197 ASSERT(!newChild->m_nextSibling);
200 if (newChild->m_hasResetType) {
209 refChild->m_nextSibling = newChild;
212 m_firstChild = newChild;
215 newChild->m_parent = this;
216 newChild->m_previousSibling = refChild;
218 if (!newChild->m_firstChild || newChild->m_hasResetType) {
219 newChild->m_nextSibling = next;
222 next->m_previousSibling = newChild;
225 m_lastChild = newChild;
228 newChild->m_countInParent = newChild->computeCountInParent();
229 newChild->resetThisAndDescendantsRenderers();
237 CounterNode* last = newChild->m_lastChild;
238 CounterNode* first = newChild->m_firstChild;
240 newChild->m_nextSibling = first;
241 first->m_previousSibling = newChild;
261 newChild->m_firstChild = 0;
262 newChild->m_lastChild = 0;
263 newChild->m_countInParent = newChild->computeCountInParent();
264 newChild->resetRenderers();