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

With the invokers proposal, I wonder if we should have a :invoketarget() function that takes a selector to match against.

`button:invoketarget(:popover-open)` would match a button whose invoketarget matches `:popover-open`.

Implementing invalidation for something like this would probably involved though (imagine all the combinations like `:invoketarget(:has(...))`!)

-- 
GitHub Notification of comment by nt1m
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9547#issuecomment-1791939474 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 06:20:14 UTC