Home | History | Annotate | Download | only in dom

Lines Matching defs:currentNode

532         Node* currentNode = currentPos.node();
536 if (currentNode != lastNode) {
538 bool currentEditable = currentNode->rendererIsEditable();
544 lastNode = currentNode;
549 if (endsOfNodeAreVisuallyDistinctPositions(currentNode) && currentNode != boundary)
553 RenderObject* renderer = currentNode->renderer();
568 if (endsOfNodeAreVisuallyDistinctPositions(currentNode) && currentPos.atStartOfNode())
572 if (editingIgnoresContent(currentNode) || isTableElement(currentNode)) {
574 return positionAfterNode(currentNode);
580 if (currentNode != startNode) {
586 return Position(currentNode, renderer->caretMaxOffset());
654 Node* currentNode = currentPos.node();
658 if (currentNode != lastNode) {
660 bool currentEditable = currentNode->rendererIsEditable();
667 lastNode = currentNode;
672 if (currentNode->hasTagName(bodyTag) && currentPos.atEndOfNode())
676 if (endsOfNodeAreVisuallyDistinctPositions(currentNode) && currentNode != boundary)
681 if (boundary && boundary->parentNode() == currentNode)
685 RenderObject* renderer = currentNode->renderer();
699 if (editingIgnoresContent(currentNode) || isTableElement(currentNode)) {
701 return Position(currentNode, renderer->caretMinOffset());
707 if (currentNode != startNode) {
709 return Position(currentNode, renderer->caretMinOffset());