- From: CSS Meeting Bot via GitHub <noreply@w3.org>
- Date: Wed, 17 Sep 2025 16:24:32 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `Add a property to retrieve plural instances of pseudo elements with the same selector`, and agreed to the following: * `RESOLVED: add element.pseudoAll that returns a list of CSSPseudoElement` <details><summary>The full IRC log of that discussion</summary> <kbabbitt> flackr: proposal is to extend what we have in CSS pseudo to allow retrieving the pseudo elements that have multiple instances<br> <kbabbitt> ... if a browser does implement CSS pseudos, this is probably a good thing to do because we have many pseudos that can be matched with generic selectors<br> <kbabbitt> ... I agree with the proposal that it should behave a lot like querySelectorAll<br> <Rossen4> q?<br> <Rossen4> ack lwarlow<br> <kbabbitt> TabAtkins: also agree with use case and proposed ordering behavior flackr suggested in the issue<br> <kbabbitt> seems reasonable to me as well<br> <kbabbitt> fantasai: 3 different proposals, which one?<br> <kbabbitt> flackr: element.pseudo is already in the css-pseudo-4 spec<br> <kbabbitt> ... proposal would be to add a method that gets all pseudos<br> <kbabbitt> ... first one I believe, something qSA-like<br> <kbabbitt> ... that returns all matching pseudos<br> <kbabbitt> TabAtkins: yes, the one listed under the Recommendation heading<br> <kbabbitt> flackr: open to bikeshedding<br> <kbabbitt> fantasai: okay with this<br> <kbabbitt> ... for element.pseudo would that return first?<br> <kbabbitt> flackr: yes<br> <kbabbitt> TabAtkins: yes, same as qS vs qSA<br> <kbabbitt> ... for bikeshedding purposes we should make it pseudoAll? not most grammatical but parallel naming is important<br> <kbabbitt> Rossen4: actualy it's not bad<br> <ydaniv> +1<br> <kbabbitt> flackr: seems reasonable<br> <JakeA> Also things like `matchAll` exist<br> <TabAtkins> true!<br> <kbabbitt> Rossen4: any other suggestions?<br> <kbabbitt> Rossen4: Proposal is to add element.pseudoAll that returns a list of nodes<br> <kbabbitt> Rossen4: objections?<br> <JakeA> List of `CSSPseudoElement`<br> <kbabbitt> flackr: yes, not list of nodes, list of CSSPseudoElement<br> <kbabbitt> RESOLVED: add element.pseudoAll that returns a list of CSSPseudoElement<br> <Rossen4> ack ntim<br> <kbabbitt> ntim: I think element.pseudo was resolved on different issue<br> <kbabbitt> Rossen4: if you feel we need to discuss more, bring up that other issue or open a new one<br> <flackr> +1 we'll keep the names in sync<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12162#issuecomment-3303739955 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 17 September 2025 16:24:33 UTC