Re: [csswg-drafts] [css-selectors] has-child selector (#4903)

> Hopefully most of the respondents actually did mean parent (:has-child) and not ancestor (:has-descendant).
> @argyleink @una Do you have any gut feeling regarding this? 

From my experience folks exclusively mean ancestor querying. Eg, they want a child to own how it responds to a class or state findable further up the DOM. @bkardell had it right when using the `<` character, as a way of visualizing the intent `.dark < .my-component {...}`. I dont know anyone who's aware of `:has` when talking about this topic. 

-- 
GitHub Notification of comment by argyleink
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4903#issuecomment-605349998 using your GitHub account

Received on Friday, 27 March 2020 23:05:04 UTC