Searched defs:parentNode (Results 1 - 25 of 38) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
H A DElementResolveContext.h44 const ContainerNode* parentNode() const { return m_parentNode; } function in class:blink::ElementResolveContext
H A DStyleResolverState.h56 const ContainerNode* parentNode() const { return m_elementContext.parentNode(); } function in class:blink::StyleResolverState
142 // m_parentStyle is not always just element->parentNode()->style()
H A DStyleResolver.cpp914 Node* parentNode = NodeRenderingTraversal::parent(textNode); local
915 if (!parentNode || !parentNode->renderStyle())
917 return parentNode->renderStyle();
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DReplaceNodeWithSpanCommand.cpp55 RefPtrWillBeRawPtr<ContainerNode> parentNode = elementToReplace.parentNode(); local
56 parentNode->insertBefore(newElement, &elementToReplace);
66 parentNode->removeChild(&elementToReplace, ASSERT_NO_EXCEPTION);
H A DDOMSelection.cpp473 ContainerNode* parentNode = n->parentNode(); local
474 if (!parentNode)
478 bool nodeFullySelected = Range::compareBoundaryPoints(parentNode, nodeIndex, selectedRange->startContainer(), selectedRange->startOffset(), exceptionState) >= 0 && !exceptionState.hadException()
479 && Range::compareBoundaryPoints(parentNode, nodeIndex + 1, selectedRange->endContainer(), selectedRange->endOffset(), exceptionState) <= 0 && !exceptionState.hadException();
485 bool nodeFullyUnselected = (Range::compareBoundaryPoints(parentNode, nodeIndex, selectedRange->endContainer(), selectedRange->endOffset(), exceptionState) > 0 && !exceptionState.hadException())
486 || (Range::compareBoundaryPoints(parentNode, nodeIndex + 1, selectedRange->startContainer(), selectedRange->startOffset(), exceptionState) < 0 && !exceptionState.hadException());
H A DCompositeEditCommand.cpp300 ContainerNode* parentNode = element.parentNode(); local
301 if (parentNode && parentNode->firstChild() != parentNode->lastChild())
321 ContainerNode* parent = refChild->parentNode();
395 RefPtrWillBeRawPtr<ContainerNode> parent = node->parentNode();
1010 for (Node* n = start.deprecatedNode(); n && n != outerNode; n = n->parentNode())
1036 outerNode = outerNode->parentNode();
1047 while (startNode && lastNode && startNode->parentNode() !
1396 ContainerNode* parentNode = textNode->parentNode(); local
[all...]
H A DTextIterator.cpp391 emitCharacter('\n', baseNode->parentNode(), baseNode, 1, 1);
495 ContainerNode* parentNode = m_node->parentNode(); local
496 while (!next && parentNode) {
497 if ((pastEnd && parentNode == m_endContainer) || m_endContainer->isDescendantOf(parentNode))
500 m_node = parentNode;
502 parentNode = m_node->parentNode();
512 if (!next && !parentNode
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGGradientStop.cpp66 ContainerNode* parentNode = node()->parentNode(); local
67 ASSERT(parentNode);
68 return isSVGGradientElement(*parentNode) ? toSVGGradientElement(parentNode) : 0;
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DTreeWalker.cpp57 Node* TreeWalker::parentNode(ExceptionState& exceptionState) function in class:blink::TreeWalker
61 node = node->parentNode();
97 ContainerNode* parent = node->parentNode();
130 ContainerNode* parent = node->parentNode();
165 node = node->parentNode();
202 node = node->parentNode();
239 ContainerNode* parent = node->parentNode();
H A DNodeRenderingTraversal.cpp123 Node* parentNode = parent(node); local
125 if (parentNode && parentNode->isElementNode() && !previousNode) {
127 if (Node* child = lastChild(parentNode))
131 return toElement(parentNode)->pseudoElement(BEFORE);
175 Node* parentNode = parent(node); local
178 if (parentNode && parentNode->isElementNode() && !nextNode) {
180 if (Node* child = firstChild(parentNode))
184 return toElement(parentNode)
[all...]
H A DNode.h184 ContainerNode* parentNode() const;
493 // Note that if a Node has a renderer, it's parentNode is guaranteed to have one as well.
832 inline ContainerNode* Node::parentNode() const function in class:blink::Node
H A DRange.cpp134 for (Node* parentA = containerA; parentA; parentA = parentA->parentNode()) {
135 for (Node* parentB = containerB; parentB; parentB = parentB->parentNode()) {
146 while (endRootContainer->parentNode())
147 endRootContainer = endRootContainer->parentNode();
149 while (startRootContainer->parentNode())
150 startRootContainer = startRootContainer->parentNode();
296 ContainerNode* parentNode = refNode->parentNode(); local
299 if (!parentNode) {
306 if (comparePoint(parentNode, nodeInde
[all...]
/external/apache-xml/src/main/java/org/apache/xalan/templates/
H A DKeyDeclaration.java45 public KeyDeclaration(Stylesheet parentNode, int docOrderNumber) argument
47 m_parentNode = parentNode;
/external/chromium_org/third_party/WebKit/Source/core/xml/
H A DXSLStyleSheet.h45 static PassRefPtrWillBeRawPtr<XSLStyleSheet> create(ProcessingInstruction* parentNode, const String& originalURL, const KURL& finalURL) argument
48 return adoptRefWillBeNoop(new XSLStyleSheet(parentNode, originalURL, finalURL, false));
50 static PassRefPtrWillBeRawPtr<XSLStyleSheet> createEmbedded(ProcessingInstruction* parentNode, const KURL& finalURL) argument
53 return adoptRefWillBeNoop(new XSLStyleSheet(parentNode, finalURL.string(), finalURL, true));
105 XSLStyleSheet(Node* parentNode, const String& originalURL, const KURL& finalURL, bool embedded);
H A DXSLStyleSheetLibxslt.cpp57 XSLStyleSheet::XSLStyleSheet(Node* parentNode, const String& originalURL, const KURL& finalURL, bool embedded) argument
58 : m_ownerNode(parentNode)
/external/chromium_org/third_party/WebKit/Source/core/frame/
H A DSmartClip.cpp129 Node* parentMinNode = minNode->parentNode();
130 Node* parentNewNode = newNode->parentNode();
133 if (parentMinNode && parentNewNode && parentNewNode->parentNode() == parentMinNode)
139 if (parentMinNode && parentNewNode && parentMinNode->parentNode() == parentNewNode)
156 node = node->parentNode();
221 void SmartClip::collectOverlappingChildNodes(Node* parentNode, const IntRect& cropRect, WillBeHeapVector<RawPtrWillBeMember<Node> >& hitNodes) argument
223 if (!parentNode)
225 IntRect resizedCropRect = parentNode->document().view()->windowToContents(cropRect);
226 for (Node* child = parentNode->firstChild(); child; child = child->nextSibling()) {
/external/llvm/lib/Analysis/
H A DDominanceFrontier.cpp29 : currentBB(B), parentBB(P), Node(N), parentNode(PN) {}
33 const DomTreeNode *parentNode; member in class:__anon25678::DFCalculateWorkObject
56 const DomTreeNode *parentNode = currentW->parentNode; local
101 if (!DT.properlyDominates(parentNode, DT[*CDFI]))
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSStyleSheet.cpp78 static bool isAcceptableCSSStyleSheetParent(Node* parentNode) argument
85 return !parentNode
86 || parentNode->isDocumentNode()
87 || isHTMLLinkElement(*parentNode)
88 || isHTMLStyleElement(*parentNode)
89 || isSVGStyleElement(*parentNode)
90 || parentNode->nodeType() == Node::PROCESSING_INSTRUCTION_NODE;
150 // is still observable from JavaScript. This matches the behavior of .parentNode for nodes, but
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DDOMEditor.cpp50 RemoveChildAction(Node* parentNode, Node* node) argument
52 , m_parentNode(parentNode)
92 InsertBeforeAction(Node* parentNode, PassRefPtrWillBeRawPtr<Node> node, Node* anchorNode) argument
94 , m_parentNode(parentNode)
102 if (m_node->parentNode()) {
103 m_removeChildAction = adoptRefWillBeNoop(new RemoveChildAction(m_node->parentNode(), m_node.get()));
336 ReplaceChildNodeAction(Node* parentNode, PassRefPtrWillBeRawPtr<Node> newNode, Node* oldNode) argument
338 , m_parentNode(parentNode)
417 bool DOMEditor::insertBefore(Node* parentNode, PassRefPtrWillBeRawPtr<Node> node, Node* anchorNode, ExceptionState& exceptionState) argument
419 return m_history->perform(adoptRefWillBeNoop(new InsertBeforeAction(parentNode, nod
422 removeChild(Node* parentNode, Node* node, ExceptionState& exceptionState) argument
451 replaceChild(Node* parentNode, PassRefPtrWillBeRawPtr<Node> newNode, Node* oldNode, ExceptionState& exceptionState) argument
467 insertBefore(Node* parentNode, PassRefPtrWillBeRawPtr<Node> node, Node* anchorNode, ErrorString* errorString) argument
475 removeChild(Node* parentNode, Node* node, ErrorString* errorString) argument
[all...]
H A DDOMPatchSupport.cpp118 if (node->isDocumentNode() || (node->parentNode() && node->parentNode()->isDocumentNode())) {
140 ContainerNode* parentNode = node->parentNode(); local
142 for (Node* child = parentNode->firstChild(); child; child = child->nextSibling())
148 for (Node* child = parentNode->firstChild(); child != node; child = child->nextSibling())
160 if (!innerPatchChildren(parentNode, oldList, newList, exceptionState)) {
162 if (!m_domEditor->replaceChild(parentNode, fragment.release(), node, exceptionState))
165 return previousSibling ? previousSibling->nextSibling() : parentNode->firstChild();
177 return m_domEditor->replaceChild(oldNode->parentNode(), newNod
298 innerPatchChildren(ContainerNode* parentNode, const Vector<OwnPtr<Digest> >& oldList, const Vector<OwnPtr<Digest> >& newList, ExceptionState& exceptionState) argument
451 insertBeforeAndMarkAsUsed(ContainerNode* parentNode, Digest* digest, Node* anchor, ExceptionState& exceptionState) argument
[all...]
H A DInspectorDOMDebuggerAgent.cpp356 Node* parentNode = InspectorDOMAgent::innerParentNode(node); local
361 } else if (parentNode && hasBreakpoint(parentNode, SubtreeModified)) {
394 Node* parentNode = InspectorDOMAgent::innerParentNode(breakpointOwner); local
395 if (!parentNode)
397 breakpointOwner = parentNode;
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebNode.cpp86 WebNode WebNode::parentNode() const function in class:blink::WebNode
88 return WebNode(const_cast<ContainerNode*>(m_private->parentNode()));
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
H A DXMPIteratorImpl.java534 * @param parentNode the node which children shall be iterated.
537 public NodeIteratorChildren(XMPNode parentNode, String parentPath) argument
539 if (parentNode.getOptions().isSchemaNode())
541 setBaseNS(parentNode.getName());
543 this.parentPath = accumulatePath(parentNode, parentPath, 1);
545 childrenIterator = parentNode.iterateChildren();
H A DXMPNodeUtils.java449 * @param parentNode the node to start to start from
456 XMPNode parentNode,
466 nextNode = findChildNode(parentNode, nextStep.getName(), createNodes);
471 parentNode, nextStep.getName().substring(1), createNodes);
477 if (!parentNode.getOptions().isArray())
484 index = findIndexedItem(parentNode, nextStep.getName(), createNodes);
488 index = parentNode.getChildrenLength();
495 index = lookupFieldSelector(parentNode, fieldName, fieldValue);
503 parentNode, qualName, qualValue, nextStep.getAliasForm());
511 if (1 <= index && index <= parentNode
455 followXPathStep( XMPNode parentNode, XMPPathSegment nextStep, boolean createNodes) argument
[all...]
H A DXMPSerializerRDF.java408 * @param parentNode the parent property node
413 private boolean serializeCompactRDFAttrProps(XMPNode parentNode, int indent) throws IOException argument
417 for (Iterator it = parentNode.iterateChildren(); it.hasNext();)
483 * @param parentNode the parent node
488 private void serializeCompactRDFElementProps(XMPNode parentNode, int indent) argument
491 for (Iterator it = parentNode.iterateChildren(); it.hasNext();)

Completed in 342 milliseconds

12