Home
last modified time | relevance | path

Searched refs:enclosingNode (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/editing/
DIndentOutdentCommand.cpp132 …Node* enclosingNode = enclosingNodeOfType(visibleStartOfParagraph.deepEquivalent(), &isListOrInden… in outdentParagraph() local
133 …if (!enclosingNode || !enclosingNode->parentNode()->rendererIsEditable()) // We can't outdent if t… in outdentParagraph()
137 if (enclosingNode->hasTagName(olTag)) { in outdentParagraph()
141 if (enclosingNode->hasTagName(ulTag)) { in outdentParagraph()
147 VisiblePosition positionInEnclosingBlock = VisiblePosition(firstPositionInNode(enclosingNode)); in outdentParagraph()
150 …VisiblePosition startOfEnclosingBlock = (enclosingNode->renderer() && enclosingNode->renderer()->i… in outdentParagraph()
151 … VisiblePosition lastPositionInEnclosingBlock = VisiblePosition(lastPositionInNode(enclosingNode)); in outdentParagraph()
156 Node* splitPoint = enclosingNode->nextSibling(); in outdentParagraph()
157 removeNodePreservingChildren(enclosingNode); in outdentParagraph()
180 RefPtr<Node> splitBlockquoteNode = enclosingNode; in outdentParagraph()
[all …]
DReplaceSelectionCommand.cpp1194 … Node* enclosingNode = enclosingBlock(endOfInsertedContent.deepEquivalent().deprecatedNode()); in doApply() local
1195 if (isListItem(enclosingNode)) { in doApply()
1197 insertNodeAfter(newListItem, enclosingNode); in doApply()
Dhtmlediting.cpp327 Node* enclosingNode = enclosingNodeOfType(firstPositionInOrBeforeNode(node), isBlock, rule); in enclosingBlock() local
328 return toElement(enclosingNode); in enclosingBlock()
DApplyStyleCommand.cpp529 static Node* highestEmbeddingAncestor(Node* startNode, Node* enclosingNode) in highestEmbeddingAncestor() argument
531 for (Node* n = startNode; n && n != enclosingNode; n = n->parentNode()) { in highestEmbeddingAncestor()