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

> Sometimes I wonder if the appropriate pseudo is one we discussed before with `:show/n/ing`. Something like `details` is opened/closed. But, we have popovers that can be shown or not shown (`:shown, :not(:shown)`).

I think the problem is that, due to the issues we've discussed above, it needs to be specific to the API. So it should have "popover" in the name. And akin to `:fullscreen` for the "fullscreen" API, it seems most parallel to use `:popover`. Another alternative is something like `:popover-open` but that's verbose and seemingly unnecessary. If the popover is "closed" but made visible via `display:block` or something, I'd say it really isn't a popover any longer, it's just an element, so it still makes sense for that not to match `:popover`.

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


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

Received on Monday, 27 March 2023 17:50:35 UTC