I do not know if this is intended but it seems that TagQuery does not bother checking the root element of the tag whenever using a .cssSelector. From my own snooping tagQueryFindAll walks over each element, but doesn’t check the element itself, only its children/descendants.
Consider the following reprex
I do not know if this is intended but it seems that
TagQuery
does not bother checking the root element of the tag whenever using a.cssSelector
. From my own snoopingtagQueryFindAll
walks over each element, but doesn’t check the element itself, only its children/descendants. Consider the following reprexnot checkin the root level makes the following unviable.
Created on 2023-01-27 with reprex v2.0.2