/external/webkit/WebCore/dom/ |
D | Range.cpp | 163 for (Node* parentA = containerA; parentA; parentA = parentA->parentNode()) { in commonAncestorContainer() 164 for (Node* parentB = containerB; parentB; parentB = parentB->parentNode()) { in commonAncestorContainer() 208 while (endRootContainer->parentNode()) in setStart() 209 endRootContainer = endRootContainer->parentNode(); in setStart() 211 while (startRootContainer->parentNode()) in setStart() 212 startRootContainer = startRootContainer->parentNode(); in setStart() 246 while (endRootContainer->parentNode()) in setEnd() 247 endRootContainer = endRootContainer->parentNode(); in setEnd() 249 while (startRootContainer->parentNode()) in setEnd() 250 startRootContainer = startRootContainer->parentNode(); in setEnd() [all …]
|
D | PositionIterator.cpp | 40 ASSERT(m_nodeAfterPositionInAnchor->parentNode() == m_anchorNode); in operator Position() 64 m_anchorNode = m_nodeAfterPositionInAnchor->parentNode(); in increment() 81 m_nodeAfterPositionInAnchor = m_nodeAfterPositionInAnchor->parentNode(); in decrement() 82 m_anchorNode = m_nodeAfterPositionInAnchor->parentNode(); in decrement() 97 m_anchorNode = m_anchorNode->parentNode(); in decrement() 106 if (m_anchorNode->parentNode()) in atStart() 117 …return !m_anchorNode->parentNode() && (m_anchorNode->hasChildNodes() || m_offsetInAnchor >= lastOf… in atEnd()
|
D | Text.cpp | 71 if (parentNode()) in splitText() 72 parentNode()->insertBefore(newText.get(), nextSibling(), ec); in splitText() 76 if (parentNode()) in splitText() 161 …Node* parent = parentNode(); // Protect against mutation handlers moving this node during traversal in replaceWholeText() 163 …for (RefPtr<Node> n = startText; n && n != this && n->isTextNode() && n->parentNode() == parent;) { in replaceWholeText() 171 …de> n = nextSibling(); n && n != onePastEndText && n->isTextNode() && n->parentNode() == parent;) { in replaceWholeText() 179 if (parent && parentNode() == parent) in replaceWholeText() 212 RenderObject *par = parentNode()->renderer(); in rendererIsNeeded() 248 if (parentNode()->isSVGElement() in createRenderer() 250 && !parentNode()->hasTagName(SVGNames::foreignObjectTag) in createRenderer() [all …]
|
D | ContainerNode.cpp | 83 if (refChild->parentNode() != this) { in insertBefore() 107 if (Node* oldParent = child->parentNode()) in insertBefore() 121 if (next->parentNode() != this) in insertBefore() 123 if (child->parentNode()) in insertBefore() 183 if (!oldChild || oldChild->parentNode() != this) { in replaceChild() 216 if (Node* oldParent = child->parentNode()) in replaceChild() 225 if (prev && prev->parentNode() != this) in replaceChild() 227 if (child->parentNode()) in replaceChild() 317 if (!oldChild || oldChild->parentNode() != this) { in removeChild() 329 if (child->parentNode() != this) { in removeChild() [all …]
|
D | Node.cpp | 653 if (Node *p = parentNode()) in remove() 788 for (Node* p = parentNode(); p && !p->childNeedsStyleRecalc(); p = p->parentNode()) in setNeedsStyleRecalc() 798 for (Node* next = p->parentNode(); !next->renderer(); p = next, next = next->parentNode()) {} in outermostLazyAttachedAncestor() 824 for (Node* p = parentNode(); p && !p->childNeedsStyleRecalc(); p = p->parentNode()) in lazyAttach() 943 for (Node *n = this; n; n = n->parentNode()) in notifyNodeListsAttributeChanged() 969 for (Node* n = this; n; n = n->parentNode()) in notifyNodeListsChildrenChanged() 982 while (n && !n->nextSibling() && (!stayWithin || n->parentNode() != stayWithin)) in traverseNextNode() 983 n = n->parentNode(); in traverseNextNode() 996 while (n && !n->nextSibling() && (!stayWithin || n->parentNode() != stayWithin)) in traverseNextSibling() 997 n = n->parentNode(); in traverseNextSibling() [all …]
|
D | TreeWalker.cpp | 57 Node* TreeWalker::parentNode(ScriptState* state) in parentNode() function in WebCore::TreeWalker 61 node = node->parentNode(); in parentNode() 97 Node* parent = node->parentNode(); in firstChild() 130 Node* parent = node->parentNode(); in lastChild() 164 node = node->parentNode(); in previousSibling() 200 node = node->parentNode(); in nextSibling() 237 Node* parent = node->parentNode(); in previousNode()
|
/external/webkit/JavaScriptCore/API/tests/ |
D | NodeList.c | 30 extern NodeList* NodeList_new(Node* parentNode) in NodeList_new() argument 32 Node_ref(parentNode); in NodeList_new() 35 nodeList->parentNode = parentNode; in NodeList_new() 44 NodeLink* n = nodeList->parentNode->childNodesTail; in NodeList_length() 60 NodeLink* n = nodeList->parentNode->childNodesTail; in NodeList_item() 78 Node_deref(nodeList->parentNode); in NodeList_deref()
|
/external/webkit/WebCore/editing/ |
D | htmlediting.cpp | 151 node = node->parentNode(); in highestEditableRoot() 168 node = node->parentNode(); in lowestEditableAncestor() 181 node = node->parentNode(); in isEditablePosition() 200 node = node->parentNode(); in isRichlyEditablePosition() 212 node = node->parentNode(); in editableRootForPosition() 348 if (node->parentNode() && (editingIgnoresContent(node) || isTableElement(node))) in rangeCompliantEquivalent() 358 if (node->parentNode()) in rangeCompliantEquivalent() 369 return node->parentNode() ? positionInParentBeforeNode(node) : Position(node, 0); in rangeCompliantEquivalent() 504 …r (Node* n = pos.node(); n && n->rootEditableElement() == rootEditableElement; n = n->parentNode()) in firstInSpecialElement() 520 …r (Node* n = pos.node(); n && n->rootEditableElement() == rootEditableElement; n = n->parentNode()) in lastInSpecialElement() [all …]
|
D | InsertNodeBeforeCommand.cpp | 39 ASSERT(!m_insertChild->parentNode()); in InsertNodeBeforeCommand() 41 ASSERT(m_refChild->parentNode()); in InsertNodeBeforeCommand() 43 ASSERT(m_refChild->parentNode()->isContentEditable() || !m_refChild->parentNode()->attached()); in InsertNodeBeforeCommand() 48 Node* parent = m_refChild->parentNode(); in doApply()
|
D | ReplaceNodeWithSpanCommand.cpp | 56 Node* parentNode = nodeToReplace->parentNode(); in swapInNodePreservingAttributesAndChildren() local 57 parentNode->insertBefore(newNode, nodeToReplace, ec); in swapInNodePreservingAttributesAndChildren() 69 parentNode->removeChild(nodeToReplace, ec); in swapInNodePreservingAttributesAndChildren()
|
/external/webkit/WebCore/svg/ |
D | SVGFontFaceFormatElement.cpp | 41 if (!parentNode() || !parentNode()->hasTagName(font_face_uriTag)) in childrenChanged() 44 Node* ancestor = parentNode()->parentNode(); in childrenChanged() 48 ancestor = ancestor->parentNode(); in childrenChanged()
|
D | SVGLocatable.cpp | 55 for (Node* n = element->parentNode(); n && !n->isDocumentNode(); n = n->parentNode()) { in nearestViewportElement() 67 for (Node* n = element->parentNode(); n && !n->isDocumentNode(); n = n->parentNode()) { in farthestViewportElement() 90 Node* parent = element->parentNode(); in getCTM() 107 Node* parent = element->parentNode(); in getScreenCTM()
|
D | SVGUseElement.cpp | 289 Node* parentNode = shadowRoot->parentNode(); in updateContainerOffsets() local 290 ASSERT(parentNode); in updateContainerOffsets() 291 ASSERT(parentNode->isSVGElement()); in updateContainerOffsets() 292 ASSERT(parentNode->hasTagName(SVGNames::gTag)); in updateContainerOffsets() 293 ASSERT(static_cast<SVGGElement*>(parentNode)->isShadowTreeContainerElement()); in updateContainerOffsets() 295 …owTreeContainerElement* containerElement = static_cast<SVGShadowTreeContainerElement*>(parentNode); in updateContainerOffsets() 345 String parentNodeName = element->parentNode() ? element->parentNode()->nodeName() : "null"; in dumpInstanceTree() 352 …targetInstance, parentNodeName.latin1().data(), element->parentNode(), firstChildNodeName.latin1()… in dumpInstanceTree() 441 Node* parent = parentNode(); in buildShadowAndInstanceTree() 446 parent = parent->parentNode(); in buildShadowAndInstanceTree() [all …]
|
D | SVGFontFaceUriElement.cpp | 71 if (!parentNode() || !parentNode()->hasTagName(font_face_srcTag)) in childrenChanged() 74 Node* grandParent = parentNode()->parentNode(); in childrenChanged()
|
D | SVGElement.cpp | 120 Node* n = isShadowNode() ? const_cast<SVGElement*>(this)->shadowParentNode() : parentNode(); in ownerSVGElement() 125 n = n->isShadowNode() ? n->shadowParentNode() : n->parentNode(); in ownerSVGElement() 135 Node* n = isShadowNode() ? const_cast<SVGElement*>(this)->shadowParentNode() : parentNode(); in viewportElement() 140 n = n->isShadowNode() ? n->shadowParentNode() : n->parentNode(); in viewportElement() 236 for (node = node->parentNode(); node && node->isElementNode(); node = node->parentNode()) { in hasLoadListener() 253 …parent = currentTarget->parentNode(); // save the next parent to dispatch too incase dispatching t… in sendSVGLoadEventIfPossible()
|
/external/webkit/WebCore/page/ |
D | DOMSelection.cpp | 103 return shadowAncestor->parentNode(); in anchorNode() 121 return shadowAncestor->parentNode(); in focusNode() 139 return shadowAncestor->parentNode(); in baseNode() 157 return shadowAncestor->parentNode(); in extentNode() 347 Node* container = shadowAncestor->parentNode(); in getRangeAt() 435 Node* parentNode = n->parentNode(); in containsNode() local 439 if (!parentNode) in containsNode() 443 …bool nodeFullySelected = Range::compareBoundaryPoints(parentNode, nodeIndex, selectedRange->startC… in containsNode() 444 …&& Range::compareBoundaryPoints(parentNode, nodeIndex + 1, selectedRange->endContainer(ec), select… in containsNode() 449 …bool nodeFullyUnselected = Range::compareBoundaryPoints(parentNode, nodeIndex, selectedRange->endC… in containsNode() [all …]
|
/external/webkit/WebCore/xml/ |
D | XSLStyleSheet.h | 51 …static PassRefPtr<XSLStyleSheet> create(Node* parentNode, const String& originalURL, const KURL& f… in create() argument 53 return adoptRef(new XSLStyleSheet(parentNode, originalURL, finalURL, false)); in create() 55 static PassRefPtr<XSLStyleSheet> createInline(Node* parentNode, const KURL& finalURL) in createInline() argument 57 return adoptRef(new XSLStyleSheet(parentNode, finalURL.string(), finalURL, true)); in createInline() 93 XSLStyleSheet(Node* parentNode, const String& originalURL, const KURL& finalURL, bool embedded);
|
D | XSLStyleSheetQt.cpp | 36 XSLStyleSheet::XSLStyleSheet(Node* parentNode, const String& originalURL, const KURL& finalURL, bo… in XSLStyleSheet() argument 37 : StyleSheet(parentNode, originalURL, finalURL) in XSLStyleSheet() 38 , m_ownerDocument(parentNode->document()) in XSLStyleSheet()
|
/external/webkit/WebCore/rendering/ |
D | RenderSVGGradientStop.cpp | 64 Node* parentNode = node()->parent(); in gradientElement() local 65 if (parentNode->hasTagName(linearGradientTag) || parentNode->hasTagName(radialGradientTag)) in gradientElement() 66 return static_cast<SVGGradientElement*>(parentNode); in gradientElement()
|
/external/webkit/WebCore/inspector/front-end/ |
D | View.js | 52 if (parentElement && parentElement !== this.element.parentNode) { 56 if (!this.element.parentNode && this.attach) 69 if (this.element.parentNode) 70 this.element.parentNode.removeChild(this.element);
|
D | TextPrompt.js | 115 if (!this.autoCompleteElement || !this.autoCompleteElement.parentNode) 120 this.autoCompleteElement.parentNode.replaceChild(textNode, this.autoCompleteElement); 144 if (this.autoCompleteElement.parentNode) 145 this.autoCompleteElement.parentNode.removeChild(this.autoCompleteElement); 240 … prefixTextNode.parentNode.insertBefore(this.autoCompleteElement, prefixTextNode.nextSibling); 297 … if (!focusNode || focusNode.nodeType !== Node.TEXT_NODE || focusNode.parentNode !== this.element) 319 … if (!focusNode || focusNode.nodeType !== Node.TEXT_NODE || focusNode.parentNode !== this.element)
|
D | utilities.js | 224 for (var node = this; node && node !== this.ownerDocument; node = node.parentNode) 238 for (var node = this; node && node !== this.ownerDocument; node = node.parentNode) 246 if (!this.parentNode) 248 return this.parentNode.enclosingNodeOrSelfWithClass(className); 456 var currentNode = node.parentNode; 460 currentNode = currentNode.parentNode; 487 …while (node && !node.nextSibling && (!stayWithin || !node.parentNode || node.parentNode !== stayWi… 488 node = node.parentNode; 506 return this.parentNode; 552 function parentNode(node) function [all …]
|
/external/webkit/WebCore/html/ |
D | HTMLSourceElement.cpp | 57 … if (parentNode() && (parentNode()->hasTagName(audioTag) || parentNode()->hasTagName(videoTag))) { in insertedIntoDocument() 58 HTMLMediaElement* media = static_cast<HTMLMediaElement*>(parentNode()); in insertedIntoDocument()
|
D | HTMLOptGroupElement.cpp | 108 Node* select = parentNode(); in recalcSelectOptions() 110 select = select->parentNode(); in recalcSelectOptions() 133 if (parentNode()->renderStyle()) in attach() 168 Node* select = parentNode(); in ownerSelectElement() 170 select = select->parentNode(); in ownerSelectElement()
|
D | HTMLOptionElement.cpp | 58 if (parentNode()->renderStyle()) in attach() 171 Node* select = parentNode(); in ownerSelectElement() 177 select = select->parentNode(); in ownerSelectElement() 222 …return ownElementDisabled() || (parentNode() && static_cast<HTMLFormControlElement*>(parentNode())… in disabled()
|