Searched refs:isDescendantOf (Results 1 - 25 of 47) sorted by relevance

12

/external/webkit/Source/WebCore/dom/
H A DNodeIterator.cpp172 if (!removedNode->isDescendantOf(root()))
175 bool willRemoveReferenceNodeAncestor = referenceNode.node && referenceNode.node->isDescendantOf(removedNode);
185 while (node && node->isDescendantOf(removedNode))
196 while (node && node->isDescendantOf(removedNode))
214 while (node && node->isDescendantOf(removedNode))
224 while (node && node->isDescendantOf(removedNode))
H A DSelectorNodeList.cpp55 if (element && (rootNode->isDocumentNode() || element->isDescendantOf(rootNode)) && selectorChecker.checkSelector(onlySelector, element))
H A DNode.cpp1263 if (newChild == newParent || newParent->isDescendantOf(newChild)) {
1298 bool Node::isDescendantOf(const Node *other) const function in class:WebCore::Node
1314 return this == node || node->isDescendantOf(this);
1791 if (element && (isDocumentNode() || element->isDescendantOf(this)) && selectorChecker.checkSelector(querySelectorList.first(), element))
H A DNode.h409 bool isDescendantOf(const Node*) const;
/external/webkit/Source/WebCore/page/
H A DFrameTree.h55 bool isDescendantOf(const Frame* ancestor) const;
H A DFrameTree.cpp242 bool FrameTree::isDescendantOf(const Frame* ancestor) const function in class:WebCore::FrameTree
260 ASSERT(!stayWithin || child->tree()->isDescendantOf(stayWithin));
269 ASSERT(!stayWithin || sibling->tree()->isDescendantOf(stayWithin));
282 ASSERT(!stayWithin || !sibling || sibling->tree()->isDescendantOf(stayWithin));
H A DFocusController.cpp339 if (selectionStartNode == newFocusedNode || selectionStartNode->isDescendantOf(newFocusedNode) || selectionStartNode->shadowAncestorNode() == newFocusedNode)
/external/webkit/Source/WebCore/editing/
H A DVisiblePosition.cpp416 if (highestRoot && !pos.deepEquivalent().deprecatedNode()->isDescendantOf(highestRoot))
442 if (highestRoot && !pos.deepEquivalent().deprecatedNode()->isDescendantOf(highestRoot))
530 bool nextIsOutsideOriginalBlock = !nextNode->isDescendantOf(originalBlock) && nextNode != originalBlock;
531 bool prevIsOutsideOriginalBlock = !prevNode->isDescendantOf(originalBlock) && prevNode != originalBlock;
683 if (!visiblePosition.deepEquivalent().containerNode()->isDescendantOf(node))
687 return previous.isNull() || !previous.deepEquivalent().deprecatedNode()->isDescendantOf(node);
695 if (!visiblePosition.deepEquivalent().containerNode()->isDescendantOf(node))
699 return next.isNull() || !next.deepEquivalent().deprecatedNode()->isDescendantOf(node);
H A DDeleteSelectionCommand.cpp145 if (startSpecialContainer && startSpecialContainer->isDescendantOf(endSpecialContainer))
149 else if (endSpecialContainer && endSpecialContainer->isDescendantOf(startSpecialContainer))
352 if (m_startRoot != m_endRoot && !(node->isDescendantOf(m_startRoot.get()) && node->isDescendantOf(m_endRoot.get()))) {
473 bool startNodeWasDescendantOfEndNode = m_upstreamStart.deprecatedNode()->isDescendantOf(m_downstreamEnd.deprecatedNode());
496 } else if (!m_downstreamEnd.deprecatedNode()->isDescendantOf(node.get())) {
517 if (m_downstreamEnd.deprecatedNode() != startNode && !m_upstreamStart.deprecatedNode()->isDescendantOf(m_downstreamEnd.deprecatedNode()) && m_downstreamEnd.anchorNode()->inDocument() && m_downstreamEnd.deprecatedEditingOffset() >= caretMinOffset(m_downstreamEnd.deprecatedNode())) {
536 if (m_upstreamStart.deprecatedNode()->isDescendantOf(m_downstreamEnd.deprecatedNode())) {
609 if (!mergeDestination.deepEquivalent().deprecatedNode() || !mergeDestination.deepEquivalent().deprecatedNode()->isDescendantOf(enclosingBlock(m_upstreamStart.containerNode())) || m_startsAtEmptyLine) {
683 if (!m_endingPosition.deprecatedNode()->isDescendantOf(m_endTableRo
[all...]
H A Dhtmlediting.cpp289 while (p.deprecatedNode() && !isEditablePosition(p) && p.deprecatedNode()->isDescendantOf(highestRoot))
292 if (p.deprecatedNode() && p.deprecatedNode() != highestRoot && !p.deprecatedNode()->isDescendantOf(highestRoot))
311 while (p.deprecatedNode() && !isEditablePosition(p) && p.deprecatedNode()->isDescendantOf(highestRoot))
314 if (p.deprecatedNode() && p.deprecatedNode() != highestRoot && !p.deprecatedNode()->isDescendantOf(highestRoot))
1026 if (startOfSelection.deepEquivalent().deprecatedNode()->isDescendantOf(table))
1034 if (endOfSelection.deepEquivalent().deprecatedNode()->isDescendantOf(table))
1105 if (startContainer == node || startContainer->isDescendantOf(node)) {
1110 if (endContainer == node || endContainer->isDescendantOf(node)) {
1130 if (base == node || base->isDescendantOf(node)) {
1135 if (extent == node || extent->isDescendantOf(nod
[all...]
H A DBreakBlockquoteCommand.cpp123 if (!startNode->isDescendantOf(topBlockquote)) {
H A DFormatBlockCommand.cpp75 && refNode != root && !root->isDescendantOf(refNode)) {
H A DCompositeEditCommand.cpp277 ASSERT(!first->isDescendantOf(second.get()) && second != first);
731 if (!upstreamEnd.deprecatedNode()->isDescendantOf(upstreamStart.deprecatedNode())) {
739 ASSERT(upstreamStart.deprecatedNode()->isDescendantOf(enclosingBlock(upstreamEnd.deprecatedNode())));
804 if (start.deprecatedNode() != end.deprecatedNode() && !start.deprecatedNode()->isDescendantOf(end.deprecatedNode())) {
808 while (!end.deprecatedNode()->isDescendantOf(outerNode)) {
820 if (n == end.deprecatedNode() || end.deprecatedNode()->isDescendantOf(n))
1191 if (lineBreakExistsAtVisiblePosition(visiblePos) && downstream.deprecatedNode()->isDescendantOf(enclosingAnchor))
H A Dmarkup.cpp344 if (pastEnd && pastEnd->isDescendantOf(n))
366 if (next != pastEnd && next->isDescendantOf(ancestor))
377 Node* lastAncestorClosedOrSelf = n->isDescendantOf(lastClosed) ? lastClosed : n;
383 ASSERT(startNode->isDescendantOf(parent));
696 if (node->isDescendantOf(deleteButtonContainerElement))
H A DTextIterator.cpp411 if ((pastEnd && parentNode == m_endContainer) || m_endContainer->isDescendantOf(parentNode))
849 if (!m_node->isDescendantOf(m_startContainer))
2396 if (range->startContainer() != scope && !range->startContainer()->isDescendantOf(scope))
2398 if (range->endContainer() != scope && !range->endContainer()->isDescendantOf(scope))
H A DApplyStyleCommand.cpp340 if (start.deprecatedNode()->isDescendantOf(end.deprecatedNode()))
720 if (pastEndNode && pastEndNode->isDescendantOf(node))
/external/webkit/Source/WebKit2/UIProcess/
H A DWebFrameProxy.h128 bool isDescendantOf(const WebFrameProxy* ancestor) const;
H A DWebFrameProxy.cpp221 bool WebFrameProxy::isDescendantOf(const WebFrameProxy* ancestor) const function in class:WebKit::WebFrameProxy
/external/webkit/Source/WebKit/mac/Carbon/
H A DHIWebView.mm921 check( [oldFirstResponderView isDescendantOf:view->fWebView] );
924 && ![oldFirstResponderView isDescendantOf:view->fFirstResponder] )
969 if ( tentativeNewKeyView && [tentativeNewKeyView isDescendantOf:view->fWebView] )
999 if ( tentativeNewKeyView && [tentativeNewKeyView isDescendantOf:view->fWebView] )
1011 && [nextTentativeNewKeyView isDescendantOf:view->fWebView]
1054 check( [(NSView *)firstResponder isDescendantOf:view->fWebView] );
1115 || [respView isDescendantOf: inView->fWebView] )
1158 || [respView isDescendantOf: inView->fWebView] )
/external/webkit/Source/WebCore/platform/mac/
H A DScrollViewMac.mm65 ASSERT(![parentView isDescendantOf:childView]);
H A DWidgetMac.mm83 if ([firstResponder isKindOfClass:[NSView class]] && [(NSView *)firstResponder isDescendantOf:view])
/external/webkit/Source/WebKit/mac/Misc/
H A DWebNSViewExtras.m209 ([responder isKindOfClass:[NSView class]] && [(NSView *)responder isDescendantOf:self])));
/external/webkit/Source/WebCore/html/
H A DHTMLDocument.cpp154 if (focusedFrame->tree()->isDescendantOf(frame()))
/external/webkit/Source/WebKit/android/jni/
H A DWebViewCore.h638 bool isDescendantOf(Node* parent, Node* node);
/external/webkit/Source/WebCore/svg/
H A DSVGSVGElement.cpp646 if (element && element->isDescendantOf(this))

Completed in 320 milliseconds

12