- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Thu, 03 Apr 2025 17:34:32 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-anchor-position] Let more pseudo-elements have implicit anchor elements`, and agreed to the following: * `RESOLVED: All pseudo-elements use their originating element as their implicit anchor element, unless otherwise defined` <details><summary>The full IRC log of that discussion</summary> <fantasai> TabAtkins: Anchor Positioning defines notion of an "implicit" anchor element, a relationship that other web platform features can define<br> <fantasai> TabAtkins: e.g. for <select> picker, the implicit anchor is the <select><br> <fantasai> TabAtkins: We've also talked about making ::scroll-marker-group implicitly attached to the scroll container<br> <fantasai> TabAtkins: More general question is, do we want to apply this generally for pseudo-elements<br> <fantasai> TabAtkins: so for any tree-abiding pseudo, should it have an implicit anchor element of its originating element<br> <fantasai> TabAtkins: I think it's a reasonable idea<br> <ntim> q+<br> <astearns> ack ntim<br> <fantasai> TabAtkins: That way a ::before pseudo can be automatically anchored to its element<br> <fantasai> ntim: I could see this being useful for forms<br> <fantasai> ntim: If you use ::after or ::before or whatever<br> <fantasai> ntim: Can anchor tooltips easily without extra work<br> <fantasai> TabAtkins: for forms, there might enough structure sometimes to allow someoverridden<br> <fantasai> TabAtkins: e.g. might want something to attach to thumb of a slider<br> <fantasai> TabAtkins: I suggest we define that by default, imply the originating element<br> <kizu> +1<br> <fantasai> TabAtkins: but other specs can override<br> <fantasai> ntim: Is this web-compatible?<br> <fantasai> TabAtkins: Right now if you don't specify a position-anchor, all of your anchor references just wouldn't work<br> <fantasai> TabAtkins: so seems pretty unlikely that ppl are depending on broken behavior for this right now<br> <fantasai> TabAtkins: we'll see, but I think this is safe<br> <fantasai> <fantasai> +1<br> <fantasai> astearns: If it was out in the wild longer, might have more worries, but<br> <fantasai> fantasai: Not even been a year since shipping anchorpos<br> <fantasai> PROPOSED: All tree-abiding pseudo-elements use their originating element as their implicit anchor element, unless otherwise defined<br> <fantasai> fantasai: should it be all pseudo-elements?<br> <fantasai> TabAtkins: ok sure<br> <fantasai> TabAtkins: not observable<br> <fantasai> fantasai: but makes less of a maintenance problem if later it is<br> <fantasai> PROPOSED: All pseudo-elements use their originating element as their implicit anchor element, unless otherwise defined<br> <fantasai> astearns: Other questions/comments on proposed resolution?<br> <fantasai> astearns: objections?<br> <fantasai> RESOLVED: All pseudo-elements use their originating element as their implicit anchor element, unless otherwise defined<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11792#issuecomment-2776494052 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 3 April 2025 17:34:33 UTC