Searched refs:editableRoot (Results 1 – 3 of 3) sorted by relevance
159 RefPtrWillBeRawPtr<Element> editableRoot = selection.rootEditableElement(); in ReplacementFragment() local160 ASSERT(editableRoot); in ReplacementFragment()161 if (!editableRoot) in ReplacementFragment()165 if (editableRoot->isInShadowTree()) in ReplacementFragment()166 shadowAncestorElement = editableRoot->shadowHost(); in ReplacementFragment()168 shadowAncestorElement = editableRoot.get(); in ReplacementFragment()170 if (!editableRoot->getAttributeEventListener(EventTypeNames::webkitBeforeTextInserted) in ReplacementFragment()173 && editableRoot->rendererIsRichlyEditable()) { in ReplacementFragment()178 RefPtrWillBeRawPtr<HTMLElement> holder = insertFragmentForTestRendering(editableRoot.get()); in ReplacementFragment()193 editableRoot->dispatchEvent(evt, ASSERT_NO_EXCEPTION); in ReplacementFragment()[all …]
754 if (ContainerNode* editableRoot = highestEditableRoot(c.deepEquivalent())) { in startOfLine() local755 if (!editableRoot->contains(visPos.deepEquivalent().containerNode())) in startOfLine()756 return VisiblePosition(firstPositionInNode(editableRoot)); in startOfLine()846 if (ContainerNode* editableRoot = highestEditableRoot(c.deepEquivalent())) { in endOfLine() local847 if (!editableRoot->contains(visPos.deepEquivalent().containerNode())) in endOfLine()848 return VisiblePosition(lastPositionInNode(editableRoot)); in endOfLine()
711 Element* editableRoot = startNode->rootEditableElement(); in fixRangeAndApplyInlineStyle() local712 if (startNode != editableRoot) { in fixRangeAndApplyInlineStyle()713 …while (editableRoot && startNode->parentNode() != editableRoot && isNodeVisiblyContainedWithin(*st… in fixRangeAndApplyInlineStyle()