Re: [csswg-drafts] [selectors-4] Introduce `:popover` pseudo class (#8637)

I'm not convinced with the parallel with `:fullscreen`, an element with the `popover` attribute is always a popover even when closed, whereas it's not the case for fullscreen. Though you could arguably adjust the definition of what a popover is to exclude closed popovers.

Although given the alternatives would be:
- `:popover-open/closed` - a bit verbose
- don't allow details/select/ or whatever element which has an open state to match `popover` - a bit arbitrary
- status quo - a bit confusing in those edge cases

`:popover` is probably fine.

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


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

Received on Wednesday, 29 March 2023 10:41:53 UTC