Home
last modified time | relevance | path

Searched refs:commonRoot (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/dom/
DRange.cpp554 static inline Node* highestAncestorUnderCommonRoot(Node* node, Node* commonRoot) in highestAncestorUnderCommonRoot() argument
556 if (node == commonRoot) in highestAncestorUnderCommonRoot()
559 ASSERT(commonRoot->contains(node)); in highestAncestorUnderCommonRoot()
561 while (node->parentNode() != commonRoot) in highestAncestorUnderCommonRoot()
567 …atic inline Node* childOfCommonRootBeforeOffset(Node* container, unsigned offset, Node* commonRoot) in childOfCommonRootBeforeOffset() argument
570 ASSERT(commonRoot); in childOfCommonRootBeforeOffset()
572 if (!commonRoot->contains(container)) in childOfCommonRootBeforeOffset()
575 if (container == commonRoot) { in childOfCommonRootBeforeOffset()
580 while (container->parentNode() != commonRoot) in childOfCommonRootBeforeOffset()
598 RefPtrWillBeRawPtr<Node> commonRoot = commonAncestorContainer(); in processContents() local
[all …]
DRange.h169 …sProcessDirection, PassRefPtrWillBeRawPtr<Node> clonedContainer, Node* commonRoot, ExceptionState&…