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

> I think some of these use-cases are handled by [reference combinators](https://drafts.csswg.org/selectors-5/#idref-combinators) in Selectors 5.

Cool feature! I hadn't seen that one. Is that shipping in any browser?

I still think it sounds like there's [interest](https://github.com/w3c/csswg-drafts/issues/12154#issuecomment-2849387499) in adding pseudo classes for convenience, even when there are other ways to express it.

> > my vote would be for :interest-invoker (without ()) to be sugar for :interest-invoker(total) - that's usually the most useful selector, since it's a superset of :interest-invoker(partial).
> 
> Same.
> 
> `total` feels a little weird to me as a name here but 🤷...

Suggestions are welcome! The `total` value was suggested in https://github.com/w3c/csswg-drafts/issues/12154#issuecomment-2848152870.

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


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

Received on Friday, 16 May 2025 17:05:55 UTC