Re: [csswg-drafts] How to handle addEventListener on `CSSPseudoElement`? (#12163)

And dispatching 'click' to a pseudoElement is _possibly_ problematic, since 'click' isn't really a user input event, but kind of artificially created based on *down/*up events. The target of the 'click' is the common ancestor of those events (and pointer capture adds some special casing there too). Supporting only pure user input events, like pointerdown/up might be easier.

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


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

Received on Thursday, 7 August 2025 09:54:48 UTC