- From: Daniil Sakhapov via GitHub <sysbot+gh@w3.org>
- Date: Mon, 05 May 2025 13:03:55 +0000
- To: public-css-archive@w3.org
danielsakhapov has just created a new issue for https://github.com/w3c/csswg-drafts: == Should non-tree-abiding pseudo elements have a separate IDL interface? == Full context: https://github.com/danielsakhapov/CSSPseudoElementDoc?tab=readme-ov-file#31-non-tree-abiding-pseudo-elements Description: [CSSPseudoElement](https://www.w3.org/TR/css-pseudo-4/#CSSPseudoElement-interface) is only defined for tree-abiding pseudo elements. Should we add support for non-tree-abiding pseudo elements? E.g. for a hypothetical getBoundingClientRects() for ::selection? Should CSSPseudoElement be enriched with new methods or should new specific interfaces be added? **Recommendation**: Based on some discussions in web animations, non-tree-abiding pseudo elements should likely have a separate interface that is not inherited from EventTarget, as it’s not possible sometimes to fit it into e.g. a bubbling model of events. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12160 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 5 May 2025 13:03:56 UTC