Searched refs:highestRoot (Results 1 – 3 of 3) sorted by relevance
461 Node* highestRoot = highestEditableRoot(deepEquivalent()); in honorEditingBoundaryAtOrBefore() local464 if (highestRoot && !pos.deepEquivalent().deprecatedNode()->isDescendantOf(highestRoot)) in honorEditingBoundaryAtOrBefore()470 if (highestEditableRoot(pos.deepEquivalent()) == highestRoot) in honorEditingBoundaryAtOrBefore()475 if (!highestRoot) in honorEditingBoundaryAtOrBefore()479 return lastEditablePositionBeforePositionInRoot(pos.deepEquivalent(), highestRoot); in honorEditingBoundaryAtOrBefore()487 Node* highestRoot = highestEditableRoot(deepEquivalent()); in honorEditingBoundaryAtOrAfter() local490 if (highestRoot && !pos.deepEquivalent().deprecatedNode()->isDescendantOf(highestRoot)) in honorEditingBoundaryAtOrAfter()496 if (highestEditableRoot(pos.deepEquivalent()) == highestRoot) in honorEditingBoundaryAtOrAfter()501 if (!highestRoot) in honorEditingBoundaryAtOrAfter()505 return firstEditablePositionAfterPositionInRoot(pos.deepEquivalent(), highestRoot); in honorEditingBoundaryAtOrAfter()[all …]
120 Node* highestRoot = editableRootForPosition(position, editableType); in highestEditableRoot() local121 if (!highestRoot) in highestEditableRoot()124 if (highestRoot->hasTagName(bodyTag)) in highestEditableRoot()125 return highestRoot; in highestEditableRoot()127 node = highestRoot->parentNode(); in highestEditableRoot()130 highestRoot = node; in highestEditableRoot()136 return highestRoot; in highestEditableRoot()259 …siblePosition firstEditablePositionAfterPositionInRoot(const Position& position, Node* highestRoot) in firstEditablePositionAfterPositionInRoot() argument262 …if (comparePositions(position, firstPositionInNode(highestRoot)) == -1 && highestRoot->rendererIsE… in firstEditablePositionAfterPositionInRoot()263 return firstPositionInNode(highestRoot); in firstEditablePositionAfterPositionInRoot()[all …]
82 Node* highestRoot = highestEditableRoot(visiblePosition.deepEquivalent(), editableType); in previousRootInlineBoxCandidatePosition() local89 … if (highestEditableRoot(firstPositionInOrBeforeNode(previousNode), editableType) != highestRoot) in previousRootInlineBoxCandidatePosition()105 Node* highestRoot = highestEditableRoot(visiblePosition.deepEquivalent(), editableType); in nextRootInlineBoxCandidatePosition() local111 if (highestEditableRoot(firstPositionInOrBeforeNode(nextNode), editableType) != highestRoot) in nextRootInlineBoxCandidatePosition()1108 Node* highestRoot = highestEditableRoot(p); in startOfParagraph() local1120 if (!n || !n->isDescendantOf(highestRoot)) in startOfParagraph()1186 Node* highestRoot = highestEditableRoot(p); in endOfParagraph() local1198 if (!n || !n->isDescendantOf(highestRoot)) in endOfParagraph()1390 Node* highestRoot = highestEditableRoot(visiblePosition.deepEquivalent()); in startOfEditableContent() local1391 if (!highestRoot) in startOfEditableContent()[all …]