Lines Matching refs:enclosingNode
182 Node* enclosingNode = enclosingNodeOfType(visibleStartOfParagraph.deepEquivalent(), &isListOrIndentBlockquote);
183 if (!enclosingNode || !enclosingNode->parentNode()->isContentEditable()) // We can't outdent if there is no place to go!
187 if (enclosingNode->hasTagName(olTag)) {
191 if (enclosingNode->hasTagName(ulTag)) {
196 // The selection is inside a blockquote i.e. enclosingNode is a blockquote
197 VisiblePosition positionInEnclosingBlock = VisiblePosition(Position(enclosingNode, 0));
199 VisiblePosition lastPositionInEnclosingBlock = VisiblePosition(Position(enclosingNode, enclosingNode->childNodeCount()));
204 Node* splitPoint = enclosingNode->nextSibling();
205 removeNodePreservingChildren(enclosingNode);
228 RefPtr<Node> splitBlockquoteNode = enclosingNode;
229 if (enclosingBlockFlow != enclosingNode)
230 splitBlockquoteNode = splitTreeToNode(enclosingBlockFlow, enclosingNode, true);
233 splitElement(static_cast<Element*>(enclosingNode), visibleStartOfParagraph.deepEquivalent().node());