Query .closestAll()Returns all matching ancestors, not just the nearestquery-closestallcomponentQuerypage.jsDOM TraversalUnlike closest() which stops at first match, closestAll() continues up the entire tree["query","traversal","closest","ancestor","all"].closestAll()Example