Re: [csswg-drafts] Do we need :focus-visible-within ? (#3080)

Well, it's not just sugar, right? Because the clunkier version has a selector specificity of 3, whereas the others are 1. That will make for some awkward rule-writing at some point.

`:focus`
`:focus-visible`
`:focus-within`
`:host(:has(:focus-visible))`

One of these is not like the others :) I think the dev- and CSS rulewriting-ergonomics here are nontrivial.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 7 March 2023 20:29:12 UTC