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

Here is a use case for :focus-visible-within for customizable select, based on this demo: https://codepen.io/una/pen/dyBWYxR

Without focus-visible-within, we have to use this selector:
```css
select:has(option:focus-visible)::picker(select)
```
With focus-visible-within, we could do this instead:
```css
::picker(select):focus-visible-within
```

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


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

Received on Thursday, 29 August 2024 19:37:46 UTC