Re: [csswg-drafts] [selectors-4] Introduce :popovertarget-open pseudo class (#9547)

Perhaps a more generic selector which applies when an element that is tied to another open element is expanded - effectively providing a styling hook for the implicit `aria-expanded` state. Let's say `:expanded`. This would apply to the button that expanded an element, and would be applied to buttons with a `popovertarget` that points to an open popover, or a `invoketarget` that points to an open popover, open dialog, or open details element. It could also apply to Summary elements that have open details (so effectively `summary:expanded` and `details[open] > summary` would be the same thing), and would be helpful for the new `<selectlist>` and `<combobox>` elements.

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


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

Received on Friday, 3 November 2023 12:45:54 UTC