Searched refs:isDescendantOf (Results 1 - 25 of 50) sorted by path

12

/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
H A Ddom_util.js406 cvox.DomUtil.isDescendantOf = function(node, tagName, className) {
1009 if (cvox.DomUtil.isDescendantOf(node, 'HEAD')) {
1014 if (cvox.DomUtil.isDescendantOf(node, 'SCRIPT')) {
1019 if (cvox.DomUtil.isDescendantOf(node, 'NOSCRIPT')) {
1026 if (cvox.DomUtil.isDescendantOf(node, 'NOEMBED')) {
1031 if (cvox.DomUtil.isDescendantOf(node, 'STYLE')) {
1054 if (cvox.DomUtil.isDescendantOf(node, 'VIDEO')) {
1059 if (cvox.DomUtil.isDescendantOf(node, 'AUDIO')) {
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DContainerNode.cpp1417 if (element->isDescendantOf(this))
H A DDocument.cpp1050 if (frame() && frame()->tree().isDescendantOf(toLocalFrameTemporary(frameOwnerElement->contentFrame()))) {
2894 if (targetFrame.tree().isDescendantOf(m_frame))
5682 if (toLocalFrame(focusedFrame)->tree().isDescendantOf(frame()))
H A DNode.cpp843 bool Node::isDescendantOf(const Node *other) const function in class:blink::Node
863 return this == node || node->isDescendantOf(this);
H A DNode.h474 bool isDescendantOf(const Node*) const;
H A DNodeIterator.cpp153 if (!removedNode.isDescendantOf(root()))
156 bool willRemoveReferenceNodeAncestor = referenceNode.node && referenceNode.node->isDescendantOf(&removedNode);
165 while (node && node->isDescendantOf(&removedNode))
175 while (node && node->isDescendantOf(&removedNode))
193 while (node && node->isDescendantOf(&removedNode))
204 while (node && node->isDescendantOf(&removedNode))
H A DSelectorQuery.cpp216 if (element && (isTreeScopeRoot(rootNode) || element->isDescendantOf(&rootNode)))
434 if (!(isTreeScopeRoot(rootNode) || element.isDescendantOf(&rootNode)))
445 if (!element || !(isTreeScopeRoot(rootNode) || element->isDescendantOf(&rootNode)))
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DApplyStyleCommand.cpp361 if (start.deprecatedNode()->isDescendantOf(end.deprecatedNode()))
793 if (pastEndNode && pastEndNode->isDescendantOf(element))
H A DBreakBlockquoteCommand.cpp127 if (!startNode->isDescendantOf(topBlockquote)) {
H A DCaret.cpp148 ASSERT(caretRenderer->isDescendantOf(caretPainter));
H A DCompositeEditCommand.cpp456 ASSERT(!first->isDescendantOf(second.get()) && second != first);
937 if (!upstreamEnd.deprecatedNode()->isDescendantOf(upstreamStart.deprecatedNode())) {
1006 if (start.anchorNode() != outerNode && lastNode->isElementNode() && start.anchorNode()->isDescendantOf(outerNode.get())) {
1031 if (start.deprecatedNode() != end.deprecatedNode() && !start.deprecatedNode()->isDescendantOf(end.deprecatedNode())) {
1035 while (outerNode && !end.deprecatedNode()->isDescendantOf(outerNode.get())) {
1058 if (node == end.deprecatedNode() || end.deprecatedNode()->isDescendantOf(node.get()))
1081 if (destinationNode && destinationNode->isDescendantOf(node))
1440 if (lineBreakExistsAtVisiblePosition(visiblePos) && downstream.deprecatedNode()->isDescendantOf(enclosingAnchor))
1477 if (!start->isDescendantOf(end))
H A DDeleteSelectionCommand.cpp143 if (startSpecialContainer && startSpecialContainer->isDescendantOf(endSpecialContainer))
147 else if (endSpecialContainer && endSpecialContainer->isDescendantOf(startSpecialContainer))
343 if (m_startRoot != m_endRoot && !(node->isDescendantOf(m_startRoot.get()) && node->isDescendantOf(m_endRoot.get()))) {
496 bool startNodeWasDescendantOfEndNode = m_upstreamStart.deprecatedNode()->isDescendantOf(m_downstreamEnd.deprecatedNode());
519 } else if (!m_downstreamEnd.deprecatedNode()->isDescendantOf(node.get())) {
537 if (m_downstreamEnd.deprecatedNode() != startNode && !m_upstreamStart.deprecatedNode()->isDescendantOf(m_downstreamEnd.deprecatedNode()) && m_downstreamEnd.inDocument() && m_downstreamEnd.deprecatedEditingOffset() >= caretMinOffset(m_downstreamEnd.deprecatedNode())) {
556 if (m_upstreamStart.deprecatedNode()->isDescendantOf(m_downstreamEnd.deprecatedNode())) {
629 if (!mergeDestination.deepEquivalent().deprecatedNode() || (!mergeDestination.deepEquivalent().deprecatedNode()->isDescendantOf(enclosingBlock(m_upstreamStart.containerNode())) && (!mergeDestination.deepEquivalent().anchorNode()->hasChildren() || !m_upstreamStart.containerNode()->hasChildren())) || (m_startsAtEmptyLine && mergeDestination != startOfParagraphToMove)) {
709 if (!m_endingPosition.deprecatedNode()->isDescendantOf(m_endTableRo
[all...]
H A DEditingStyle.cpp1388 if (selection.isRange() && !end.deprecatedNode()->isDescendantOf(element))
H A DFormatBlockCommand.cpp78 && refElement != root && !root->isDescendantOf(refElement)) {
H A DIndentOutdentCommand.cpp85 if (end.anchorNode() == selectedListItem.get() || end.anchorNode()->isDescendantOf(selectedListItem->lastChild())) {
H A DPlainTextRange.cpp170 if (range.startContainer() != &scope && !range.startContainer()->isDescendantOf(&scope))
172 if (range.endContainer() != scope && !range.endContainer()->isDescendantOf(&scope))
H A DTextIterator.cpp497 if ((pastEnd && parentNode == m_endContainer) || m_endContainer->isDescendantOf(parentNode))
1034 if (!m_node->isDescendantOf(m_startContainer))
H A DVisiblePosition.cpp463 if (highestRoot && !pos.deepEquivalent().deprecatedNode()->isDescendantOf(highestRoot))
489 if (highestRoot && !pos.deepEquivalent().deprecatedNode()->isDescendantOf(highestRoot))
617 bool nextIsOutsideOriginalBlock = !nextNode->isDescendantOf(originalBlock) && nextNode != originalBlock;
618 bool prevIsOutsideOriginalBlock = !prevNode->isDescendantOf(originalBlock) && prevNode != originalBlock;
758 if (!visiblePosition.deepEquivalent().containerNode()->isDescendantOf(node))
762 return previous.isNull() || !previous.deepEquivalent().deprecatedNode()->isDescendantOf(node);
770 if (!visiblePosition.deepEquivalent().containerNode()->isDescendantOf(node))
774 return next.isNull() || !next.deepEquivalent().deprecatedNode()->isDescendantOf(node);
H A DVisibleUnits.cpp1107 if (!n || !n->isDescendantOf(highestRoot))
1185 if (!n || !n->isDescendantOf(highestRoot))
H A Dhtmlediting.cpp277 while (editablePosition.deprecatedNode() && !isEditablePosition(editablePosition) && editablePosition.deprecatedNode()->isDescendantOf(highestRoot))
280 if (editablePosition.deprecatedNode() && editablePosition.deprecatedNode() != highestRoot && !editablePosition.deprecatedNode()->isDescendantOf(highestRoot))
307 while (editablePosition.deprecatedNode() && !isEditablePosition(editablePosition) && editablePosition.deprecatedNode()->isDescendantOf(highestRoot))
310 if (editablePosition.deprecatedNode() && editablePosition.deprecatedNode() != highestRoot && !editablePosition.deprecatedNode()->isDescendantOf(highestRoot))
1086 if (startOfSelection.deepEquivalent().deprecatedNode()->isDescendantOf(table))
1094 if (endOfSelection.deepEquivalent().deprecatedNode()->isDescendantOf(table))
H A Dmarkup.cpp390 if (pastEnd && pastEnd->isDescendantOf(n))
415 if (next != pastEnd && next->isDescendantOf(ancestor))
427 Node* lastAncestorClosedOrSelf = n->isDescendantOf(lastClosed) ? lastClosed : n;
433 ASSERT(startNode->isDescendantOf(parent));
694 if (nodeBeforeContext->isDescendantOf(node.get())) {
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DCanvasRenderingContext2D.cpp2356 if (!element->isDescendantOf(canvas()))
H A DHitRegion.cpp23 if (!m_control || !canvas || !canvas->renderer() || !m_control->isDescendantOf(canvas))
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
H A DRangeInputType.cpp144 if (targetNode != element() && !targetNode->isDescendantOf(element().userAgentShadowRoot()))
/external/chromium_org/third_party/WebKit/Source/core/loader/
H A DFrameLoader.cpp1243 if (!targetFrames[i]->tree().isDescendantOf(m_frame))

Completed in 485 milliseconds

12