Searched refs:positionInParentBeforeNode (Results 1 - 15 of 15) sorted by relevance

/external/webkit/Source/WebCore/editing/
H A DCreateLinkCommand.cpp55 setEndingSelection(VisibleSelection(positionInParentBeforeNode(anchorElement.get()), positionInParentAfterNode(anchorElement.get()), DOWNSTREAM));
H A Dhtmlediting.cpp312 p = isAtomicNode(p.deprecatedNode()) ? positionInParentBeforeNode(p.deprecatedNode()) : previousVisuallyDistinctCandidate(p);
474 Position result = positionInParentBeforeNode(n);
534 return positionInParentBeforeNode(node);
773 && isVisiblyAdjacent(positionInParentAfterNode(firstList), positionInParentBeforeNode(secondList));
909 return positionInParentBeforeNode(node);
1074 if (endIsVisuallySame && comparePositions(selectedRange->startPosition(), positionInParentBeforeNode(node)) < 0)
1132 updatedSelection.setBase(positionInParentBeforeNode(node));
1137 updatedSelection.setExtent(positionInParentBeforeNode(node));
H A DInsertLineBreakCommand.cpp148 Position positionBeforeTextNode(positionInParentBeforeNode(textNode));
H A DInsertTextCommand.cpp144 Position positionBeforeStartNode(positionInParentBeforeNode(startPosition.containerNode()));
H A DCompositeEditCommand.cpp351 return positionInParentBeforeNode(pos.anchorNode());
356 return positionInParentBeforeNode(tabSpan);
362 return positionInParentBeforeNode(tabSpan);
1141 Position beforeBR(positionInParentBeforeNode(caretPos.deprecatedNode()));
1208 result = positionInParentBeforeNode(enclosingAnchor);
H A DDeleteButtonController.cpp353 Position pos = positionInParentBeforeNode(element.get());
H A DReplaceSelectionCommand.cpp549 return VisiblePosition(nextCandidate(positionInParentBeforeNode(m_firstNodeInserted.get())));
899 insertionPos = positionInParentBeforeNode(br);
928 insertionPos = positionInParentBeforeNode(startBlock);
965 insertionPos = positionInParentBeforeNode(nodeToSplitTo.get());
H A DDeleteSelectionCommand.cpp142 if (endSpecialContainer && !startSpecialContainer && comparePositions(start, positionInParentBeforeNode(endSpecialContainer)) > -1)
325 position = positionInParentBeforeNode(node);
333 position = positionInParentBeforeNode(node);
H A DInsertListCommand.cpp372 insertionPos = positionInParentBeforeNode(listChild);
H A DVisibleSelection.cpp508 p = isAtomicNode(p.containerNode()) ? positionInParentBeforeNode(p.containerNode()) : previousVisuallyDistinctCandidate(p);
H A DApplyStyleCommand.cpp597 embeddingRemoveEnd = positionInParentBeforeNode(endUnsplitAncestor).downstream();
638 Position embeddingApplyEnd = embeddingEndNode ? positionInParentBeforeNode(embeddingEndNode) : end;
H A Dvisible_units.cpp569 return positionInParentBeforeNode(node);
676 return positionInParentBeforeNode(node);
/external/webkit/Source/WebCore/dom/
H A DPositionIterator.cpp44 return positionInParentBeforeNode(m_nodeAfterPositionInAnchor);
H A DPosition.h212 inline Position positionInParentBeforeNode(const Node* node) function in namespace:WebCore
H A DPosition.cpp168 return positionInParentBeforeNode(m_anchorNode.get());

Completed in 115 milliseconds