Lines Matching refs:subtree
663 static inline void removeDisallowedElementsFromSubtree(Element* subtree)
665 ASSERT(!subtree->inDocument());
666 Element* element = ElementTraversal::firstWithin(subtree);
669 Element* next = ElementTraversal::nextSkippingChildren(element, subtree);
670 // The subtree is not in document so this won't generate events that could mutate the tree.
674 element = ElementTraversal::next(element, subtree);
689 // Though if there are disallowed elements in the subtree, we have to remove them.
733 // Though if there are disallowed elements in the subtree, we have to remove them.
778 // Though if there are disallowed elements in the subtree, we have to remove them.