Home | History | Annotate | Download | only in dom

Lines Matching refs:nextChild

189 void ContainerNode::insertBeforeCommon(Node* nextChild, Node* newChild)
197 Node* prev = nextChild->previousSibling();
199 nextChild->setPreviousSibling(newChild);
201 ASSERT(m_firstChild != nextChild);
202 ASSERT(prev->nextSibling() == nextChild);
205 ASSERT(m_firstChild == nextChild);
210 newChild->setNextSibling(nextChild);
214 void ContainerNode::parserInsertBefore(PassRefPtr<Node> newChild, Node* nextChild)
217 ASSERT(nextChild);
218 ASSERT(nextChild->parentNode() == this);
225 if (nextChild->previousSibling() == newChild || nextChild == newChild) // nothing to do
228 RefPtr<Node> next = nextChild;
229 RefPtr<Node> nextChildPreviousSibling = nextChild->previousSibling();
239 childrenChanged(true, nextChildPreviousSibling.get(), nextChild, 1);
290 RefPtr<Node> nextChild = isFragment ? child->nextSibling() : 0;
356 child = nextChild.release();
460 void ContainerNode::removeBetween(Node* previousChild, Node* nextChild, Node* oldChild)
471 if (nextChild)
472 nextChild->setPreviousSibling(previousChild);
474 previousChild->setNextSibling(nextChild);
476 m_firstChild = nextChild;