Re: [csswg-drafts] Add a property to retrieve plural instances of pseudo elements with the same selector (#12162)

> Cons: Adds new API. How would items in the list be uniquely identified or ordered if they are not tree-abiding?

We already have to define ordering between pseudo-elements for composition order in web animations (reflected in `getAnimations({subtree: true });` https://www.w3.org/TR/web-animations-1/#dom-documentorshadowroot-getanimations

I think we should use the same ordering here.

-- 
GitHub Notification of comment by flackr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12162#issuecomment-3002460508 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:27:41 UTC