Home | History | Annotate | Download | only in editing

Lines Matching refs:ancestors

128     // Build up list of ancestors in between the start node and the top blockquote.
129 Vector<Element*> ancestors;
131 ancestors.append(node);
137 // Clone startNode's ancestors into the cloned blockquote.
139 // that was cloned (i.e. the clone of either ancestors.last()
140 // or clonedBlockquote if ancestors is empty).
142 for (size_t i = ancestors.size(); i != 0; --i) {
143 RefPtr<Element> clonedChild = ancestors[i - 1]->cloneElementWithoutChildren();
146 Node* listChildNode = i > 1 ? ancestors[i - 2] : startNode;
168 if (!ancestors.isEmpty()) {
175 for (ancestor = ancestors.first(), clonedParent = clonedAncestor->parentElement();
188 Node* originalParent = ancestors.first();