Searched refs:shadowAncestor (Results 1 – 4 of 4) sorted by relevance
573 Node* shadowAncestor = endRoot ? endRoot->shadowHost() : 0; in adjustSelectionToAvoidCrossingEditingBoundaries() local574 if (p.isNull() && shadowAncestor) in adjustSelectionToAvoidCrossingEditingBoundaries()575 p = positionAfterNode(shadowAncestor); in adjustSelectionToAvoidCrossingEditingBoundaries()578 shadowAncestor = root ? root->shadowHost() : 0; in adjustSelectionToAvoidCrossingEditingBoundaries()580 if (p.isNull() && shadowAncestor) in adjustSelectionToAvoidCrossingEditingBoundaries()581 p = positionAfterNode(shadowAncestor); in adjustSelectionToAvoidCrossingEditingBoundaries()602 Node* shadowAncestor = startRoot ? startRoot->shadowHost() : 0; in adjustSelectionToAvoidCrossingEditingBoundaries() local603 if (p.isNull() && shadowAncestor) in adjustSelectionToAvoidCrossingEditingBoundaries()604 p = positionBeforeNode(shadowAncestor); in adjustSelectionToAvoidCrossingEditingBoundaries()607 shadowAncestor = root ? root->shadowHost() : 0; in adjustSelectionToAvoidCrossingEditingBoundaries()[all …]
268 Node* shadowAncestor = highestRoot->treeScope().ancestorInThisScope(p.deprecatedNode()); in firstEditablePositionAfterPositionInRoot() local269 if (!shadowAncestor) in firstEditablePositionAfterPositionInRoot()272 p = positionAfterNode(shadowAncestor); in firstEditablePositionAfterPositionInRoot()293 Node* shadowAncestor = highestRoot->treeScope().ancestorInThisScope(p.deprecatedNode()); in lastEditablePositionBeforePositionInRoot() local294 if (!shadowAncestor) in lastEditablePositionBeforePositionInRoot()297 p = firstPositionInOrBeforeNode(shadowAncestor); in lastEditablePositionBeforePositionInRoot()
380 if (Node* shadowAncestor = selectionShadowAncestor(m_frame)) { in getRangeAt() local381 ASSERT(!shadowAncestor->isShadowRoot()); in getRangeAt()382 ContainerNode* container = shadowAncestor->parentOrShadowHostNode(); in getRangeAt()383 int offset = shadowAncestor->nodeIndex(); in getRangeAt()384 return Range::create(shadowAncestor->document(), container, offset, container, offset); in getRangeAt()
126 Element* shadowAncestor = shadowHost(); in defaultEventHandler() local132 if (shadowAncestor) in defaultEventHandler()133 shadowAncestor->defaultEventHandler(event); in defaultEventHandler()