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

My preference is to add the target pseudo-element to the event object. This allows for developers to use event delegation patterns with pseudo-element targets as well. Note that it should be the object as a string is not necessarily sufficient to uniquely identify a pseudo-element.

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


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

Received on Wednesday, 25 June 2025 02:31:10 UTC