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

`event.pseudoTarget` would be the `CSSPseudoElement` representing the `::before::marker` if such thing is possible, or otherwise I guess `::before` for now.

I don't think that `element.addEventListener(event, listener, { pseudoTarget: '::marker' })` should include events from `::before::marker` if that's what you mean.

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


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

Received on Monday, 11 August 2025 13:45:22 UTC