Searched defs:commonAncestor (Results 1 - 7 of 7) sorted by relevance

/external/webkit/Source/WebCore/editing/
H A DFormatBlockCommand.cpp104 Node* commonAncestor = range->commonAncestorContainer(ec); local
105 while (commonAncestor && !isElementForFormatBlock(commonAncestor))
106 commonAncestor = commonAncestor->parentNode();
108 if (!commonAncestor)
112 if (!rootEditableElement || commonAncestor->contains(rootEditableElement))
115 return commonAncestor->isElementNode() ? toElement(commonAncestor) : 0;
H A Dmarkup.cpp394 static Node* ancestorToRetainStructureAndAppearance(Node* commonAncestor) argument
396 Node* commonAncestorBlock = enclosingBlock(commonAncestor);
482 Node* commonAncestor = range->commonAncestorContainer(ec); local
483 ASSERT(commonAncestor);
488 specialCommonAncestor = ancestorToRetainStructureAndAppearance(commonAncestor);
495 Node* checkAncestor = specialCommonAncestor ? specialCommonAncestor : commonAncestor;
502 // If a single tab is selected, commonAncestor will be a text node inside a tab span.
503 // If two or more tabs are selected, commonAncestor will be the tab span.
506 if (!specialCommonAncestor && isTabSpanTextNode(commonAncestor))
507 specialCommonAncestor = commonAncestor
[all...]
/external/webkit/Source/WebCore/xml/
H A DXPathNodeSet.cpp56 Node* commonAncestor; local
58 commonAncestor = parentWithDepth(commonAncestorDepth, parentMatrix[from]);
64 if (commonAncestor != parentWithDepth(commonAncestorDepth, parentMatrix[i])) {
79 if (commonAncestor == parentMatrix[i][0]) {
87 if (mayContainAttributeNodes && commonAncestor->isElementNode()) {
96 if (n->isAttributeNode() && static_cast<Attr*>(n)->ownerElement() == commonAncestor)
114 for (Node* n = commonAncestor->firstChild(); n; n = n->nextSibling()) {
/external/webkit/Source/WebCore/dom/
H A DRange.cpp518 Node* commonAncestor = commonAncestorContainer(containerA, containerB); local
519 if (!commonAncestor) {
524 while (childA && childA->parentNode() != commonAncestor)
527 childA = commonAncestor;
529 while (childB && childB->parentNode() != commonAncestor)
532 childB = commonAncestor;
537 Node* n = commonAncestor->firstChild();
/external/webkit/Source/WebCore/html/parser/
H A DHTMLTreeBuilder.cpp1635 ContainerNode* commonAncestor = formattingElementRecord->next()->node(); local
1676 const AtomicString& commonAncestorTag = commonAncestor->localName();
1686 commonAncestor->parserAddChild(lastNode->element());
/external/webkit/Source/WebCore/rendering/
H A DRenderLayer.cpp3780 static RenderObject* commonAncestor(RenderObject* obj1, RenderObject* obj2) function in namespace:WebCore
3841 RenderObject* ancestor = commonAncestor(oldHoverObj, newHoverObj);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.ui.workbench_3.6.1.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 216 milliseconds