Home
last modified time | relevance | path

Searched refs:parentNode (Results 1 – 25 of 318) sorted by relevance

12345678910>>...13

/external/webkit/Source/JavaScriptCore/API/tests/
DNodeList.c30 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/Source/WebCore/dom/
DPositionIterator.cpp40 ASSERT(m_nodeAfterPositionInAnchor->parentNode() == m_anchorNode); in operator Position()
42 if (editingIgnoresContent(m_nodeAfterPositionInAnchor->parentNode())) in operator Position()
67 m_anchorNode = m_nodeAfterPositionInAnchor->parentNode(); in increment()
84 m_nodeAfterPositionInAnchor = m_nodeAfterPositionInAnchor->parentNode(); in decrement()
85 m_anchorNode = m_nodeAfterPositionInAnchor->parentNode(); in decrement()
99 m_anchorNode = m_anchorNode->parentNode(); in decrement()
115 if (m_anchorNode->parentNode()) in atStart()
126 …return !m_anchorNode->parentNode() && (m_anchorNode->hasChildNodes() || m_offsetInAnchor >= lastOf… in atEnd()
160 return !m_offsetInAnchor && !Position::nodeIsUserSelectNone(m_anchorNode->parentNode()); in isCandidate()
166 … (atStartOfNode() || atEndOfNode()) && !Position::nodeIsUserSelectNone(m_anchorNode->parentNode()); in isCandidate()
DRange.cpp174 for (Node* parentA = containerA; parentA; parentA = parentA->parentNode()) { in commonAncestorContainer()
175 for (Node* parentB = containerB; parentB; parentB = parentB->parentNode()) { in commonAncestorContainer()
219 while (endRootContainer->parentNode()) in setStart()
220 endRootContainer = endRootContainer->parentNode(); in setStart()
222 while (startRootContainer->parentNode()) in setStart()
223 startRootContainer = startRootContainer->parentNode(); in setStart()
259 while (endRootContainer->parentNode()) in setEnd()
260 endRootContainer = endRootContainer->parentNode(); in setEnd()
262 while (startRootContainer->parentNode()) in setEnd()
263 startRootContainer = startRootContainer->parentNode(); in setEnd()
[all …]
DDocumentType.cpp62 ASSERT(parentNode() && parentNode()->isDocumentNode()); in insertedIntoDocument()
63 if (parentNode() && parentNode()->isDocumentNode()) { in insertedIntoDocument()
64 Document* doc = static_cast<Document*>(parentNode()); in insertedIntoDocument()
/external/webkit/Source/WebCore/html/
DHTMLSourceElement.cpp60 if (parentNode() && (parentNode()->hasTagName(audioTag) || parentNode()->hasTagName(videoTag))) in insertedIntoTree()
61 static_cast<HTMLMediaElement*>(parentNode())->sourceWasAdded(this); in insertedIntoTree()
66 if (parentNode() && (parentNode()->hasTagName(audioTag) || parentNode()->hasTagName(videoTag))) in willRemove()
67 static_cast<HTMLMediaElement*>(parentNode())->sourceWillBeRemoved(this); in willRemove()
DHTMLTableRowsCollection.cpp42 return row->parentNode() && static_cast<Element*>(row->parentNode())->hasLocalName(theadTag); in isInHead()
47 return row->parentNode() && static_cast<Element*>(row->parentNode())->hasLocalName(tbodyTag); in isInBody()
52 return row->parentNode() && static_cast<Element*>(row->parentNode())->hasLocalName(tfootTag); in isInFoot()
61 if (previous && previous->parentNode() != table) { in rowAfter()
72 child = previous->parentNode()->nextSibling(); in rowAfter()
85 else if (previous->parentNode() == table) in rowAfter()
88 child = previous->parentNode()->nextSibling(); in rowAfter()
104 child = previous->parentNode()->nextSibling(); in rowAfter()
DHTMLTrackElement.cpp56 … if (parentNode() && (parentNode()->hasTagName(audioTag) || parentNode()->hasTagName(videoTag))) { in insertedIntoTree()
64 … if (parentNode() && (parentNode()->hasTagName(audioTag) || parentNode()->hasTagName(videoTag))) { in willRemove()
/external/webkit/Source/WebCore/inspector/front-end/
DPleaseWaitMessage.js56 if (message.parentNode)
57 message.parentNode.removeChild(message);
71 if (message.parentNode === element)
73 else if (message.parentNode)
74 message.parentNode.removeChild(message);
88 if (message.parentNode === element) {
98 if (message.parentNode)
99 message.parentNode.removeChild(message);
DView.js52 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);
/external/webkit/Source/WebCore/svg/
DSVGTSpanElement.cpp63 if (parentNode() in rendererIsNeeded()
64 && (parentNode()->hasTagName(SVGNames::aTag) in rendererIsNeeded()
66 || parentNode()->hasTagName(SVGNames::altGlyphTag) in rendererIsNeeded()
68 || parentNode()->hasTagName(SVGNames::textTag) in rendererIsNeeded()
69 || parentNode()->hasTagName(SVGNames::textPathTag) in rendererIsNeeded()
70 || parentNode()->hasTagName(SVGNames::tspanTag))) in rendererIsNeeded()
DSVGFontFaceFormatElement.cpp46 if (!parentNode() || !parentNode()->hasTagName(font_face_uriTag)) in childrenChanged()
49 ContainerNode* ancestor = parentNode()->parentNode(); in childrenChanged()
53 ancestor = ancestor->parentNode(); in childrenChanged()
DSVGTRefElement.cpp116 if (parentNode() in rendererIsNeeded()
117 && (parentNode()->hasTagName(SVGNames::aTag) in rendererIsNeeded()
119 || parentNode()->hasTagName(SVGNames::altGlyphTag) in rendererIsNeeded()
121 || parentNode()->hasTagName(SVGNames::textTag) in rendererIsNeeded()
122 || parentNode()->hasTagName(SVGNames::textPathTag) in rendererIsNeeded()
123 || parentNode()->hasTagName(SVGNames::tspanTag))) in rendererIsNeeded()
/external/webkit/Source/WebCore/xml/
DXSLStyleSheet.h50 …static PassRefPtr<XSLStyleSheet> create(ProcessingInstruction* parentNode, const String& originalU… in create() argument
52 return adoptRef(new XSLStyleSheet(parentNode, originalURL, finalURL, false)); in create()
54 …static PassRefPtr<XSLStyleSheet> createEmbedded(ProcessingInstruction* parentNode, const KURL& fin… in createEmbedded() argument
56 return adoptRef(new XSLStyleSheet(parentNode, finalURL.string(), finalURL, true)); in createEmbedded()
61 …static PassRefPtr<XSLStyleSheet> createForXSLTProcessor(Node* parentNode, const String& originalUR… in createForXSLTProcessor() argument
63 return adoptRef(new XSLStyleSheet(parentNode, originalURL, finalURL, false)); in createForXSLTProcessor()
100 XSLStyleSheet(Node* parentNode, const String& originalURL, const KURL& finalURL, bool embedded);
/external/webkit/Source/WebCore/rendering/svg/
DRenderSVGGradientStop.cpp72 ContainerNode* parentNode = node()->parentNode(); in gradientElement() local
73 if (parentNode->hasTagName(linearGradientTag) || parentNode->hasTagName(radialGradientTag)) in gradientElement()
74 return static_cast<SVGGradientElement*>(parentNode); in gradientElement()
/external/chromium/chrome/common/extensions/docs/examples/extensions/proxy_configuration/
Dproxy_form_controller.js210 checkbox.parentNode.parentNode.classList.add('single');
212 checkbox.parentNode.parentNode.classList.remove('single');
420 t.parentNode.parentNode.parentNode.classList.contains('active')
432 t.parentNode.nodeName !== 'FORM')) {
433 t = t.parentNode;
629 checkbox.parentNode.parentNode.classList.add('single');
631 checkbox.parentNode.parentNode.classList.remove('single');
643 return this.form_.parentNode.classList.contains('incognito');
655 var div = this.form_.parentNode;
/external/webkit/Source/WebCore/editing/
DInsertNodeBeforeCommand.cpp40 ASSERT(!m_insertChild->parentNode()); in InsertNodeBeforeCommand()
42 ASSERT(m_refChild->parentNode()); in InsertNodeBeforeCommand()
44 ASSERT(m_refChild->parentNode()->rendererIsEditable() || !m_refChild->parentNode()->attached()); in InsertNodeBeforeCommand()
49 ContainerNode* parent = m_refChild->parentNode(); in doApply()
Dhtmlediting.cpp151 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()
436 … = pos.deprecatedNode(); n && n->rootEditableElement() == rootEditableElement; n = n->parentNode()) in firstInSpecialElement()
452 … = pos.deprecatedNode(); n && n->rootEditableElement() == rootEditableElement; n = n->parentNode()) in lastInSpecialElement()
533 ASSERT(node->parentNode()); in visiblePositionBeforeNode()
543 ASSERT(node->parentNode()); in visiblePositionAfterNode()
576 ancestor = ancestor->parentNode(); in extendRangeToWrappingNodes()
[all …]
/external/webkit/Source/WebCore/css/
DCSSStyleSheet.cpp40 static bool isAcceptableCSSStyleSheetParent(Node* parentNode) in isAcceptableCSSStyleSheetParent() argument
43 return !parentNode in isAcceptableCSSStyleSheetParent()
44 || parentNode->isDocumentNode() in isAcceptableCSSStyleSheetParent()
45 || parentNode->hasTagName(HTMLNames::linkTag) in isAcceptableCSSStyleSheetParent()
46 || parentNode->hasTagName(HTMLNames::styleTag) in isAcceptableCSSStyleSheetParent()
48 || parentNode->hasTagName(SVGNames::styleTag) in isAcceptableCSSStyleSheetParent()
50 || parentNode->nodeType() == Node::PROCESSING_INSTRUCTION_NODE; in isAcceptableCSSStyleSheetParent()
64 CSSStyleSheet::CSSStyleSheet(Node* parentNode, const String& href, const KURL& baseURL, const Strin… in CSSStyleSheet() argument
65 : StyleSheet(parentNode, href, baseURL) in CSSStyleSheet()
72 ASSERT(isAcceptableCSSStyleSheetParent(parentNode)); in CSSStyleSheet()
/external/chromium/chrome/common/extensions/docs/js/
Dsidebar.js24 var toggle = list[i].parentNode &&
25 list[i].parentNode.firstChild;
40 while (node.parentNode) {
45 node = node.parentNode;
75 toggleList(this.parentNode.getElementsByTagName('ul'));
/external/webkit/LayoutTests/dom/xhtml/level1/core/
Dhc_nodeparentnodenull.js95 var parentNode;
103 parentNode = createdNode.parentNode;
105 assertNull("parentNode",parentNode);
Dhc_nodeclonegetparentnull.js96 var parentNode;
106 parentNode = clonedNode.parentNode;
108 assertNull("nodeCloneGetParentNullAssert1",parentNode);
Dhc_nodeparentnode.js94 var parentNode;
104 parentNode = employeeNode.parentNode;
106 parentName = parentNode.nodeName;
/external/webkit/LayoutTests/dom/html/level1/core/
Dhc_nodeparentnodenull.js95 var parentNode;
103 parentNode = createdNode.parentNode;
105 assertNull("parentNode",parentNode);
Dhc_nodeclonegetparentnull.js96 var parentNode;
106 parentNode = clonedNode.parentNode;
108 assertNull("nodeCloneGetParentNullAssert1",parentNode);
Dhc_nodeparentnode.js94 var parentNode;
104 parentNode = employeeNode.parentNode;
106 parentName = parentNode.nodeName;

12345678910>>...13