commonAncestor 481 Source/core/dom/Node.h Node* commonAncestor(const Node&, Node* (*parent)(const Node&)); commonAncestor 518 Source/core/dom/Range.cpp Node* commonAncestor = commonAncestorContainer(containerA, containerB); commonAncestor 519 Source/core/dom/Range.cpp if (!commonAncestor) { commonAncestor 524 Source/core/dom/Range.cpp while (childA && childA->parentNode() != commonAncestor) commonAncestor 527 Source/core/dom/Range.cpp childA = commonAncestor; commonAncestor 529 Source/core/dom/Range.cpp while (childB && childB->parentNode() != commonAncestor) commonAncestor 532 Source/core/dom/Range.cpp childB = commonAncestor; commonAncestor 537 Source/core/dom/Range.cpp Node* n = commonAncestor->firstChild(); commonAncestor 109 Source/core/editing/FormatBlockCommand.cpp Node* commonAncestor = range->commonAncestorContainer(IGNORE_EXCEPTION); commonAncestor 110 Source/core/editing/FormatBlockCommand.cpp while (commonAncestor && !isElementForFormatBlock(commonAncestor)) commonAncestor 111 Source/core/editing/FormatBlockCommand.cpp commonAncestor = commonAncestor->parentNode(); commonAncestor 113 Source/core/editing/FormatBlockCommand.cpp if (!commonAncestor) commonAncestor 117 Source/core/editing/FormatBlockCommand.cpp if (!rootEditableElement || commonAncestor->contains(rootEditableElement)) commonAncestor 120 Source/core/editing/FormatBlockCommand.cpp return commonAncestor->isElementNode() ? toElement(commonAncestor) : 0; commonAncestor 446 Source/core/editing/markup.cpp static inline Node* ancestorToRetainStructureAndAppearance(Node* commonAncestor) commonAncestor 448 Source/core/editing/markup.cpp return ancestorToRetainStructureAndAppearanceForBlock(enclosingBlock(commonAncestor)); commonAncestor 451 Source/core/editing/markup.cpp static inline Node* ancestorToRetainStructureAndAppearanceWithNoRenderer(Node* commonAncestor) commonAncestor 453 Source/core/editing/markup.cpp Node* commonAncestorBlock = enclosingNodeOfType(firstPositionInOrBeforeNode(commonAncestor), isHTMLBlockElement); commonAncestor 499 Source/core/editing/markup.cpp Node* commonAncestor = range->commonAncestorContainer(IGNORE_EXCEPTION); commonAncestor 500 Source/core/editing/markup.cpp ASSERT(commonAncestor); commonAncestor 505 Source/core/editing/markup.cpp specialCommonAncestor = ancestorToRetainStructureAndAppearance(commonAncestor); commonAncestor 520 Source/core/editing/markup.cpp Node* checkAncestor = specialCommonAncestor ? specialCommonAncestor : commonAncestor; commonAncestor 531 Source/core/editing/markup.cpp if (!specialCommonAncestor && isTabSpanTextNode(commonAncestor)) commonAncestor 532 Source/core/editing/markup.cpp specialCommonAncestor = commonAncestor->parentNode(); commonAncestor 533 Source/core/editing/markup.cpp if (!specialCommonAncestor && isTabSpanNode(commonAncestor)) commonAncestor 534 Source/core/editing/markup.cpp specialCommonAncestor = commonAncestor; commonAncestor 536 Source/core/editing/markup.cpp if (Node *enclosingAnchor = enclosingNodeWithTag(firstPositionInNode(specialCommonAncestor ? specialCommonAncestor : commonAncestor), aTag)) commonAncestor 554 Source/core/editing/markup.cpp Node* commonAncestor = updatedRange->commonAncestorContainer(ASSERT_NO_EXCEPTION); commonAncestor 555 Source/core/editing/markup.cpp if (!commonAncestor) commonAncestor 560 Source/core/editing/markup.cpp Node* body = enclosingNodeWithTag(firstPositionInNode(commonAncestor), bodyTag); commonAncestor 720 Source/core/editing/markup.cpp Node* commonAncestor = range->commonAncestorContainer(ASSERT_NO_EXCEPTION); commonAncestor 721 Source/core/editing/markup.cpp Node* specialCommonAncestor = ancestorToRetainStructureAndAppearanceWithNoRenderer(commonAncestor); commonAncestor 730 Source/core/editing/markup.cpp fragment->parserTakeAllChildrenFrom(toContainerNode(*commonAncestor)); commonAncestor 1503 Source/core/html/parser/HTMLTreeBuilder.cpp RefPtr<HTMLStackItem> commonAncestor = formattingElementRecord->next()->stackItem(); commonAncestor 1541 Source/core/html/parser/HTMLTreeBuilder.cpp m_tree.insertAlreadyParsedChild(commonAncestor.get(), lastNode); commonAncestor 1694 Source/core/page/EventHandler.cpp if (Node* clickTargetNode = mev.targetNode()->commonAncestor(*m_clickNode, parentForClickEvent)) commonAncestor 58 Source/core/xml/XPathNodeSet.cpp Node* commonAncestor; commonAncestor 60 Source/core/xml/XPathNodeSet.cpp commonAncestor = parentWithDepth(commonAncestorDepth, parentMatrix[from]); commonAncestor 66 Source/core/xml/XPathNodeSet.cpp if (commonAncestor != parentWithDepth(commonAncestorDepth, parentMatrix[i])) { commonAncestor 81 Source/core/xml/XPathNodeSet.cpp if (commonAncestor == parentMatrix[i][0]) { commonAncestor 89 Source/core/xml/XPathNodeSet.cpp if (mayContainAttributeNodes && commonAncestor->isElementNode()) { commonAncestor 98 Source/core/xml/XPathNodeSet.cpp if (n->isAttributeNode() && toAttr(n)->ownerElement() == commonAncestor) commonAncestor 116 Source/core/xml/XPathNodeSet.cpp for (Node* n = commonAncestor->firstChild(); n; n = n->nextSibling()) {