Home | History | Annotate | Download | only in editing

Lines Matching refs:ancestor

142     // On exiting this loop, clonedAncestor is the lowest ancestor
173 // Split the tree up the ancestor chain until the topBlockquote
174 // Throughout this loop, clonedParent is the clone of ancestor's parent.
175 // This is so we can clone ancestor's siblings and place the clones
176 // into the clone corresponding to the ancestor's parent.
177 Element* ancestor;
179 for (ancestor = ancestors.first(), clonedParent = clonedAncestor->parentElement();
180 ancestor && ancestor != topBlockquote;
181 ancestor = ancestor->parentElement(), clonedParent = clonedParent->parentElement()) {
182 moveNode = ancestor->nextSibling();