Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLTextFormControlElement.cpp727 static Position innerNodePosition(const Position& innerPosition) in innerNodePosition() argument
729 ASSERT(innerPosition.anchorType() != Position::PositionIsBeforeAnchor); in innerNodePosition()
730 ASSERT(innerPosition.anchorType() != Position::PositionIsAfterAnchor); in innerNodePosition()
731 HTMLElement* element = toHTMLElement(innerPosition.anchorNode()); in innerNodePosition()
739 switch (innerPosition.anchorType()) { in innerNodePosition()
741 …offset = std::max(0, std::min(innerPosition.offsetInContainerNode(), static_cast<int>(childNodes->… in innerNodePosition()
910 …const Position innerPosition = position.anchorNode() == innerEditor ? innerNodePosition(position) … in startOfSentence() local
911 const Position pivotPosition = previousIfPositionIsAfterLineBreak(innerPosition, innerEditor); in startOfSentence()