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

So we might consider `:overlay` as a pseudo class for things in the top layer, given that we [decided](https://github.com/w3c/csswg-drafts/issues/8189#issuecomment-1479815485) to call the CSS property `overlay`. But I think that's a question for a different issue.

I'm in favor of a) adding `:popover` for (only) popovers in the open state, and b) removing support for `:open` and `:closed` for popovers entirely. It feels like the [definition](https://www.w3.org/TR/selectors/#open-state) for `:open` and `:closed` really refers specifically to **specific elements** that can open and closed, and not **any** element that can be made to be open or closed through a separate attribute or Javascript method. So that rules out popover and fullscreen.

-- 
GitHub Notification of comment by mfreed7
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8637#issuecomment-1485556996 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:35:20 UTC