Function style::traversal::clear_descendant_data
source ยท pub unsafe fn clear_descendant_data<E>(root: E)where
E: TElement,
Expand description
Clear style data for all the subtree under root
(but not for root itself).
We use a list to avoid unbounded recursion, which we need to avoid in the parallel traversal because the rayon stacks are small.