Home | History | Annotate | Download | only in editing

Lines Matching refs:startNode

106     // startNode is the first node that we need to move to the new blockquote.
107 Node* startNode = pos.deprecatedNode();
110 if (startNode->isTextNode()) {
111 Text* textNode = toText(startNode);
113 startNode = NodeTraversal::next(startNode);
114 ASSERT(startNode);
118 Node* childAtOffset = startNode->childNode(pos.deprecatedEditingOffset());
119 startNode = childAtOffset ? childAtOffset : NodeTraversal::next(startNode);
120 ASSERT(startNode);
124 if (!startNode->isDescendantOf(topBlockquote)) {
125 setEndingSelection(VisibleSelection(VisiblePosition(firstPositionInOrBeforeNode(startNode)), endingSelection().isDirectional()));
131 for (Element* node = startNode->parentElement(); node && node != topBlockquote; node = node->parentElement())
138 // Clone startNode's ancestors into the cloned blockquote.
147 Node* listChildNode = i > 1 ? ancestors[i - 2].get() : startNode;
160 moveRemainingSiblingsToNewParent(startNode, 0, clonedAncestor);
174 // If the startNode's original parent is now empty, remove it