Re: [csswg-drafts] [css-pseudo] purpose of focus-within?

`:has` is not in the [dynamic profile](https://drafts.csswg.org/selectors-4/#dynamic-profile) because it's too expensive. This means you can only use it in `querySelector` or similar JS APIs, but not in CSS stylesheets. `:focus-within` can be used in both profiles.

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

Received on Tuesday, 1 August 2017 11:52:40 UTC