fix: ensure :has
selectors followed by other selectors match
#16754
Loading
:has
selectors followed by other selectors match
#16754