Home
last modified time | relevance | path

Searched refs:editableRoot (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/editing/
DReplaceSelectionCommand.cpp159 RefPtrWillBeRawPtr<Element> editableRoot = selection.rootEditableElement(); in ReplacementFragment() local
160 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 …]
DVisibleUnits.cpp754 if (ContainerNode* editableRoot = highestEditableRoot(c.deepEquivalent())) { in startOfLine() local
755 if (!editableRoot->contains(visPos.deepEquivalent().containerNode())) in startOfLine()
756 return VisiblePosition(firstPositionInNode(editableRoot)); in startOfLine()
846 if (ContainerNode* editableRoot = highestEditableRoot(c.deepEquivalent())) { in endOfLine() local
847 if (!editableRoot->contains(visPos.deepEquivalent().containerNode())) in endOfLine()
848 return VisiblePosition(lastPositionInNode(editableRoot)); in endOfLine()
DApplyStyleCommand.cpp711 Element* editableRoot = startNode->rootEditableElement(); in fixRangeAndApplyInlineStyle() local
712 if (startNode != editableRoot) { in fixRangeAndApplyInlineStyle()
713 …while (editableRoot && startNode->parentNode() != editableRoot && isNodeVisiblyContainedWithin(*st… in fixRangeAndApplyInlineStyle()