Re: [csswg-drafts] Pseudo classes for the `interestfor` API (#12154)

Given [the open question](https://github.com/whatwg/html/issues/11056#issuecomment-3046010317) about whether "partial interest" is a necessary part of this API, I propose the following resolution to this issue:

- Add two non-functional pseudo classes: `:interest-invoker` and `:interest-target.`

If there are better suggestions for `:interest-target` naming, that'd be great too. The only other one I've seen is `:target-of-interest`. And we can always add the functional forms later, if we need to support `:interest-invoker(partial)` for example.

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


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

Received on Wednesday, 9 July 2025 16:39:15 UTC