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

This would be confusing for the video pause/play icon use case. Since saying that a button for a video is "expanded" just because the video is playing is confusing.

Also I don't think that this would work with custom invoker actions - where there's no true/false state.

-- 
GitHub Notification of comment by YummyBacon5
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9547#issuecomment-1792420159 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 13:16:08 UTC