Home | History | Annotate | Download | only in editing

Lines Matching refs:endNode

1270     Node* endNode = end.containerNode();
1273 if (isAtomicNode(endNode)) {
1274 if (endOffset < lastOffsetInNode(endNode))
1281 endNode = end.deprecatedNode()->parentNode();
1285 if (!endNode->isElementNode() || endNode->hasTagName(brTag))
1288 Node* nextSibling = endNode->nextSibling();
1289 if (nextSibling && areIdenticalElements(endNode, nextSibling)) {
1291 Element* element = static_cast<Element *>(endNode);
1296 bool shouldUpdateStart = start.containerNode() == endNode;
1306 void ApplyStyleCommand::surroundNodeRangeWithElement(PassRefPtr<Node> passedStartNode, PassRefPtr<Node> endNode, PassRefPtr<Element> elementToInsert)
1309 ASSERT(endNode);
1323 if (node == endNode)
1365 RefPtr<Node> endNode = passedEnd;
1385 for (Node* container = startNode.get(); container && startNode == endNode; container = container->firstChild()) {
1394 endNode = container->lastChild();
1414 surroundNodeRangeWithElement(startNode, endNode, fontElement.get());
1428 surroundNodeRangeWithElement(startNode, endNode, styleElement.release());
1433 surroundNodeRangeWithElement(startNode, endNode, createHTMLElement(document(), bTag));
1436 surroundNodeRangeWithElement(startNode, endNode, createHTMLElement(document(), iTag));
1439 surroundNodeRangeWithElement(startNode, endNode, createHTMLElement(document(), uTag));
1442 surroundNodeRangeWithElement(startNode, endNode, createHTMLElement(document(), strikeTag));
1445 surroundNodeRangeWithElement(startNode, endNode, createHTMLElement(document(), subTag));
1447 surroundNodeRangeWithElement(startNode, endNode, createHTMLElement(document(), supTag));
1450 surroundNodeRangeWithElement(startNode, endNode, m_styledInlineElement->cloneElementWithoutChildren());