Home | History | Annotate | Download | only in editing

Lines Matching defs:ancestor

897                         Node *ancestor = ancestorsToClose.last();
898 if (next != pastEnd && next->isDescendantOf(ancestor))
901 markups.append(getEndMarkup(ancestor));
902 lastClosed = ancestor;
945 // Retain the Mail quote level by including all ancestor mail block quotes.
947 for (Node *ancestor = lastClosed->parentNode(); ancestor; ancestor = ancestor->parentNode())
948 if (isMailBlockquote(ancestor))
949 specialCommonAncestor = ancestor;
981 // Also include all of the ancestors of lastClosed up to this special ancestor.
982 for (Node* ancestor = lastClosed->parentNode(); ancestor; ancestor = ancestor->parentNode()) {
983 if (ancestor == fullySelectedRoot && !convertBlocksToInlines) {
1003 preMarkups.append(getStartMarkup(ancestor, updatedRange.get(), annotate, convertBlocksToInlines, 0, DoesNotFullySelectNode));
1004 markups.append(getEndMarkup(ancestor));
1007 nodes->append(ancestor);
1009 lastClosed = ancestor;
1011 if (ancestor == specialCommonAncestor)