Home | History | Annotate | Download | only in inspector

Lines Matching defs:oldNode

771     Node* oldNode = nodeForId(nodeId);
772 if (!oldNode || !oldNode->isElementNode())
776 RefPtrWillBeRawPtr<Element> newElem = oldNode->document().createElement(AtomicString(tagName), exceptionState);
781 newElem->cloneAttributesFromElement(*toElement(oldNode));
785 while ((child = oldNode->firstChild())) {
791 ContainerNode* parent = oldNode->parentNode();
792 if (!m_domEditor->insertBefore(parent, newElem.get(), oldNode->nextSibling(), errorString))
794 if (!m_domEditor->removeChild(parent, oldNode, errorString))