Home | History | Annotate | Download | only in dom

Lines Matching refs:currentPos

489     Position currentPos = *this;
490 while (!currentPos.atStartOfTree()) {
491 currentPos = currentPos.previous();
493 if (currentPos.deprecatedNode()->rootEditableElement() != fromRootEditableElement)
497 if (currentPos.isCandidate())
498 return currentPos;
499 } else if (rendersInDifferentPosition(currentPos))
500 return currentPos;
568 PositionIterator currentPos = lastVisible;
572 for (; !currentPos.atStart(); currentPos.decrement()) {
573 Node* currentNode = currentPos.node();
599 lastVisible = currentPos;
604 if (isStreamer(currentPos))
605 lastVisible = currentPos;
609 if (endsOfNodeAreVisuallyDistinctPositions(currentNode) && currentPos.atStartOfNode())
614 if (currentPos.atEndOfNode())
630 unsigned textOffset = currentPos.offsetInLeafNode();
636 return currentPos;
666 return currentPos;
691 PositionIterator currentPos = lastVisible;
695 for (; !currentPos.atEnd(); currentPos.increment()) {
696 Node* currentNode = currentPos.node();
714 if (isHTMLBodyElement(*currentNode) && currentPos.atEndOfNode())
732 lastVisible = currentPos;
737 if (isStreamer(currentPos))
738 lastVisible = currentPos;
742 if (currentPos.offsetInLeafNode() <= renderer->caretMinOffset())
750 ASSERT(currentPos.atStartOfNode());
754 unsigned textOffset = currentPos.offsetInLeafNode();
760 return currentPos;
790 return currentPos;