isDescendantOf 988 Source/core/dom/Document.cpp if (frame() && frame()->tree().isDescendantOf(toLocalFrameTemporary(frameOwnerElement->contentFrame()))) { isDescendantOf 2827 Source/core/dom/Document.cpp if (targetFrame->tree().isDescendantOf(m_frame)) isDescendantOf 5477 Source/core/dom/Document.cpp if (toLocalFrame(focusedFrame)->tree().isDescendantOf(frame())) isDescendantOf 535 Source/core/dom/FullscreenElementStack.cpp elementInSubtree = m_fullScreenElement->isDescendantOf(node); isDescendantOf 537 Source/core/dom/FullscreenElementStack.cpp elementInSubtree = (m_fullScreenElement == node) || m_fullScreenElement->isDescendantOf(node); isDescendantOf 864 Source/core/dom/Node.cpp return this == node || node->isDescendantOf(this); isDescendantOf 477 Source/core/dom/Node.h bool isDescendantOf(const Node*) const; isDescendantOf 166 Source/core/dom/NodeIterator.cpp if (!removedNode.isDescendantOf(root())) isDescendantOf 169 Source/core/dom/NodeIterator.cpp bool willRemoveReferenceNodeAncestor = referenceNode.node && referenceNode.node->isDescendantOf(&removedNode); isDescendantOf 178 Source/core/dom/NodeIterator.cpp while (node && node->isDescendantOf(&removedNode)) isDescendantOf 188 Source/core/dom/NodeIterator.cpp while (node && node->isDescendantOf(&removedNode)) isDescendantOf 206 Source/core/dom/NodeIterator.cpp while (node && node->isDescendantOf(&removedNode)) isDescendantOf 217 Source/core/dom/NodeIterator.cpp while (node && node->isDescendantOf(&removedNode)) isDescendantOf 214 Source/core/dom/SelectorQuery.cpp if (element && (isTreeScopeRoot(rootNode) || element->isDescendantOf(&rootNode))) isDescendantOf 426 Source/core/dom/SelectorQuery.cpp if (!(isTreeScopeRoot(rootNode) || element.isDescendantOf(&rootNode))) isDescendantOf 437 Source/core/dom/SelectorQuery.cpp if (!element || !(isTreeScopeRoot(rootNode) || element->isDescendantOf(&rootNode))) isDescendantOf 356 Source/core/editing/ApplyStyleCommand.cpp if (start.deprecatedNode()->isDescendantOf(end.deprecatedNode())) isDescendantOf 770 Source/core/editing/ApplyStyleCommand.cpp if (pastEndNode && pastEndNode->isDescendantOf(node.get())) isDescendantOf 125 Source/core/editing/BreakBlockquoteCommand.cpp if (!startNode->isDescendantOf(topBlockquote)) { isDescendantOf 440 Source/core/editing/CompositeEditCommand.cpp ASSERT(!first->isDescendantOf(second.get()) && second != first); isDescendantOf 919 Source/core/editing/CompositeEditCommand.cpp if (!upstreamEnd.deprecatedNode()->isDescendantOf(upstreamStart.deprecatedNode())) { isDescendantOf 927 Source/core/editing/CompositeEditCommand.cpp ASSERT(upstreamStart.deprecatedNode()->isDescendantOf(enclosingBlock(upstreamEnd.deprecatedNode()))); isDescendantOf 979 Source/core/editing/CompositeEditCommand.cpp if (start.anchorNode() != outerNode && lastNode->isElementNode() && start.anchorNode()->isDescendantOf(outerNode.get())) { isDescendantOf 1004 Source/core/editing/CompositeEditCommand.cpp if (start.deprecatedNode() != end.deprecatedNode() && !start.deprecatedNode()->isDescendantOf(end.deprecatedNode())) { isDescendantOf 1008 Source/core/editing/CompositeEditCommand.cpp while (!end.deprecatedNode()->isDescendantOf(outerNode.get())) { isDescendantOf 1025 Source/core/editing/CompositeEditCommand.cpp if (node == end.deprecatedNode() || end.deprecatedNode()->isDescendantOf(node.get())) isDescendantOf 1048 Source/core/editing/CompositeEditCommand.cpp if (destinationNode && destinationNode->isDescendantOf(node)) isDescendantOf 1410 Source/core/editing/CompositeEditCommand.cpp if (lineBreakExistsAtVisiblePosition(visiblePos) && downstream.deprecatedNode()->isDescendantOf(enclosingAnchor)) isDescendantOf 139 Source/core/editing/DeleteSelectionCommand.cpp if (startSpecialContainer && startSpecialContainer->isDescendantOf(endSpecialContainer)) isDescendantOf 143 Source/core/editing/DeleteSelectionCommand.cpp else if (endSpecialContainer && endSpecialContainer->isDescendantOf(startSpecialContainer)) isDescendantOf 335 Source/core/editing/DeleteSelectionCommand.cpp if (m_startRoot != m_endRoot && !(node->isDescendantOf(m_startRoot.get()) && node->isDescendantOf(m_endRoot.get()))) { isDescendantOf 488 Source/core/editing/DeleteSelectionCommand.cpp bool startNodeWasDescendantOfEndNode = m_upstreamStart.deprecatedNode()->isDescendantOf(m_downstreamEnd.deprecatedNode()); isDescendantOf 511 Source/core/editing/DeleteSelectionCommand.cpp } else if (!m_downstreamEnd.deprecatedNode()->isDescendantOf(node.get())) { isDescendantOf 529 Source/core/editing/DeleteSelectionCommand.cpp if (m_downstreamEnd.deprecatedNode() != startNode && !m_upstreamStart.deprecatedNode()->isDescendantOf(m_downstreamEnd.deprecatedNode()) && m_downstreamEnd.inDocument() && m_downstreamEnd.deprecatedEditingOffset() >= caretMinOffset(m_downstreamEnd.deprecatedNode())) { isDescendantOf 548 Source/core/editing/DeleteSelectionCommand.cpp if (m_upstreamStart.deprecatedNode()->isDescendantOf(m_downstreamEnd.deprecatedNode())) { isDescendantOf 621 Source/core/editing/DeleteSelectionCommand.cpp if (!mergeDestination.deepEquivalent().deprecatedNode() || (!mergeDestination.deepEquivalent().deprecatedNode()->isDescendantOf(enclosingBlock(m_upstreamStart.containerNode())) && (!mergeDestination.deepEquivalent().anchorNode()->firstChild() || !m_upstreamStart.containerNode()->firstChild())) || (m_startsAtEmptyLine && mergeDestination != startOfParagraphToMove)) { isDescendantOf 700 Source/core/editing/DeleteSelectionCommand.cpp if (!m_endingPosition.deprecatedNode()->isDescendantOf(m_endTableRow.get())) { isDescendantOf 794 Source/core/editing/DeleteSelectionCommand.cpp if (m_selectionToDelete.end().deprecatedNode()->isDescendantOf(table)) isDescendantOf 1346 Source/core/editing/EditingStyle.cpp if (selection.isRange() && !end.deprecatedNode()->isDescendantOf(node)) isDescendantOf 77 Source/core/editing/FormatBlockCommand.cpp && refNode != root && !root->isDescendantOf(refNode)) { isDescendantOf 81 Source/core/editing/IndentOutdentCommand.cpp if (end.anchorNode() == selectedListItem.get() || end.anchorNode()->isDescendantOf(selectedListItem->lastChild())) { isDescendantOf 169 Source/core/editing/PlainTextRange.cpp if (range.startContainer() != &scope && !range.startContainer()->isDescendantOf(&scope)) isDescendantOf 171 Source/core/editing/PlainTextRange.cpp if (range.endContainer() != scope && !range.endContainer()->isDescendantOf(&scope)) isDescendantOf 475 Source/core/editing/TextIterator.cpp if ((pastEnd && parentNode == m_endContainer) || m_endContainer->isDescendantOf(parentNode)) isDescendantOf 1000 Source/core/editing/TextIterator.cpp if (!m_node->isDescendantOf(m_startContainer)) isDescendantOf 463 Source/core/editing/VisiblePosition.cpp if (highestRoot && !pos.deepEquivalent().deprecatedNode()->isDescendantOf(highestRoot)) isDescendantOf 489 Source/core/editing/VisiblePosition.cpp if (highestRoot && !pos.deepEquivalent().deprecatedNode()->isDescendantOf(highestRoot)) isDescendantOf 617 Source/core/editing/VisiblePosition.cpp bool nextIsOutsideOriginalBlock = !nextNode->isDescendantOf(originalBlock) && nextNode != originalBlock; isDescendantOf 618 Source/core/editing/VisiblePosition.cpp bool prevIsOutsideOriginalBlock = !prevNode->isDescendantOf(originalBlock) && prevNode != originalBlock; isDescendantOf 774 Source/core/editing/VisiblePosition.cpp if (!visiblePosition.deepEquivalent().containerNode()->isDescendantOf(node)) isDescendantOf 778 Source/core/editing/VisiblePosition.cpp return previous.isNull() || !previous.deepEquivalent().deprecatedNode()->isDescendantOf(node); isDescendantOf 786 Source/core/editing/VisiblePosition.cpp if (!visiblePosition.deepEquivalent().containerNode()->isDescendantOf(node)) isDescendantOf 790 Source/core/editing/VisiblePosition.cpp return next.isNull() || !next.deepEquivalent().deprecatedNode()->isDescendantOf(node); isDescendantOf 1108 Source/core/editing/VisibleUnits.cpp if (!n || !n->isDescendantOf(highestRoot)) isDescendantOf 1186 Source/core/editing/VisibleUnits.cpp if (!n || !n->isDescendantOf(highestRoot)) isDescendantOf 277 Source/core/editing/htmlediting.cpp while (p.deprecatedNode() && !isEditablePosition(p) && p.deprecatedNode()->isDescendantOf(highestRoot)) isDescendantOf 280 Source/core/editing/htmlediting.cpp if (p.deprecatedNode() && p.deprecatedNode() != highestRoot && !p.deprecatedNode()->isDescendantOf(highestRoot)) isDescendantOf 302 Source/core/editing/htmlediting.cpp while (p.deprecatedNode() && !isEditablePosition(p) && p.deprecatedNode()->isDescendantOf(highestRoot)) isDescendantOf 305 Source/core/editing/htmlediting.cpp if (p.deprecatedNode() && p.deprecatedNode() != highestRoot && !p.deprecatedNode()->isDescendantOf(highestRoot)) isDescendantOf 983 Source/core/editing/htmlediting.cpp if (startOfSelection.deepEquivalent().deprecatedNode()->isDescendantOf(table)) isDescendantOf 991 Source/core/editing/htmlediting.cpp if (endOfSelection.deepEquivalent().deprecatedNode()->isDescendantOf(table)) isDescendantOf 365 Source/core/editing/markup.cpp if (pastEnd && pastEnd->isDescendantOf(n)) isDescendantOf 390 Source/core/editing/markup.cpp if (next != pastEnd && next->isDescendantOf(ancestor)) isDescendantOf 402 Source/core/editing/markup.cpp Node* lastAncestorClosedOrSelf = n->isDescendantOf(lastClosed) ? lastClosed : n; isDescendantOf 408 Source/core/editing/markup.cpp ASSERT(startNode->isDescendantOf(parent)); isDescendantOf 673 Source/core/editing/markup.cpp if (nodeBeforeContext->isDescendantOf(node.get())) { isDescendantOf 2382 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (!element || !element->isDescendantOf(canvas())) isDescendantOf 155 Source/core/html/forms/RangeInputType.cpp if (targetNode != element() && !targetNode->isDescendantOf(element().userAgentShadowRoot())) isDescendantOf 1220 Source/core/loader/FrameLoader.cpp if (!targetFrames[i]->tree().isDescendantOf(m_frame)) isDescendantOf 496 Source/core/page/EventHandler.cpp if (pos.isNotNull() && pos.deepEquivalent().deprecatedNode()->isDescendantOf(URLElement)) isDescendantOf 1578 Source/core/page/EventHandler.cpp if (m_lastMouseMoveEventSubframe && m_lastMouseMoveEventSubframe->tree().isDescendantOf(m_frame) && m_lastMouseMoveEventSubframe != newSubframe) isDescendantOf 2084 Source/core/page/EventHandler.cpp && element->isDescendantOf(m_frame->document()->focusedElement())) isDescendantOf 614 Source/core/page/FocusController.cpp if (selectionStartNode == newFocusedNode || selectionStartNode->isDescendantOf(newFocusedNode) || selectionStartNode->deprecatedShadowAncestorNode() == newFocusedNode) isDescendantOf 309 Source/core/page/FrameTree.cpp ASSERT(!stayWithin || child->tree().isDescendantOf(stayWithin)); isDescendantOf 318 Source/core/page/FrameTree.cpp ASSERT(!stayWithin || sibling->tree().isDescendantOf(stayWithin)); isDescendantOf 331 Source/core/page/FrameTree.cpp ASSERT(!stayWithin || !sibling || sibling->tree().isDescendantOf(stayWithin)); isDescendantOf 49 Source/core/page/FrameTree.h bool isDescendantOf(const LocalFrame* ancestor) const; isDescendantOf 455 Source/core/page/TouchAdjustment.cpp if (node->isDescendantOf(targetNode)) { isDescendantOf 874 Source/core/rendering/FastTextAutosizer.cpp ASSERT(containingBlock->isDescendantOf(root)); isDescendantOf 1034 Source/core/rendering/InlineFlowBox.cpp if (!newParent || !newParent->isDescendantOf(culledParent)) { isDescendantOf 573 Source/core/rendering/RenderBlock.cpp while (curr && curr->isDescendantOf(fromBlock) && curr != fromBlock) { isDescendantOf 2593 Source/core/rendering/RenderBlock.cpp if (!o || r->isDescendantOf(o)) { isDescendantOf 1951 Source/core/rendering/RenderBlockFlow.cpp && (floatingObject->shouldPaint() || (paintAllDescendants && floatingObject->renderer()->isDescendantOf(this)))) { isDescendantOf 2487 Source/core/rendering/RenderBlockFlow.cpp && floatingObject->renderer()->isDescendantOf(child) && floatingObject->renderer()->enclosingFloatPaintingLayer() == child->enclosingFloatPaintingLayer()) { isDescendantOf 2178 Source/core/rendering/RenderLayer.cpp if (localPaintingInfo.paintingRoot && !renderer()->isDescendantOf(localPaintingInfo.paintingRoot)) isDescendantOf 171 Source/core/rendering/RenderObject.h bool isDescendantOf(const RenderObject*) const; isDescendantOf 1594 Source/core/rendering/RenderText.cpp if (enclosingLayerRenderer != rendererToRepaint && !rendererToRepaint->isDescendantOf(enclosingLayerRenderer)) isDescendantOf 1598 Source/core/rendering/RenderText.cpp if (repaintContainer && repaintContainer != rendererToRepaint && !rendererToRepaint->isDescendantOf(repaintContainer)) isDescendantOf 223 Source/core/rendering/RenderTextControlSingleLine.cpp if (result.innerNode()->isDescendantOf(innerTextElement()) || result.innerNode() == node() || (container && container == result.innerNode())) { isDescendantOf 147 Source/core/rendering/RenderTextFragment.cpp if (isDescendantOf(toRenderTextFragment(nodeRenderer)->m_firstLetter)) isDescendantOf 57 Source/core/rendering/SubtreeLayoutScope.cpp ASSERT(descendant->isDescendantOf(m_root)); isDescendantOf 63 Source/core/rendering/SubtreeLayoutScope.cpp ASSERT(descendant->isDescendantOf(m_root)); isDescendantOf 794 Source/core/rendering/TextAutosizer.cpp ASSERT(containingBlock->isDescendantOf(cluster)); isDescendantOf 1540 Source/core/rendering/compositing/RenderLayerCompositor.cpp if (compositingAncestor->renderer()->isDescendantOf(clippingContainer)) isDescendantOf 253 Source/core/rendering/line/BreakingContextInlineHeaders.h if (m_nextObject && m_nextObject->parent() && !m_nextObject->parent()->isDescendantOf(m_current.object()->parent())) isDescendantOf 384 Source/core/svg/SVGSVGElement.cpp } else if (!isDescendantOf(referenceElement)) { isDescendantOf 821 Source/core/svg/SVGSVGElement.cpp if (element && element->isDescendantOf(this)) isDescendantOf 437 Source/web/TextFinder.cpp return activeMatchFrame && activeMatchFrame->activeMatch() && activeMatchFrame->frame()->tree().isDescendantOf(mainFrameImpl->frame());