- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Thu, 27 Feb 2025 02:12:03 +0000
- To: public-css-archive@w3.org
tabatkins has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-anchor-position] Let more pseudo-elements have implicit anchor elements == In #10494 we're discussing having `::scroll-marker-group` use its originating element as its "implicit anchor element", so as long as you don't override anything you can just immediately use `position: absolute; position-area: bottom center;` or similar to position the group. @flackr brought up that it might make sense to extend this to more tree-abiding pseudos, and make them *all* use their originating element as their implicit anchor element. For example, `::before` would default to positioning relative to the element it's generated for. This sounds like a reasonable idea? It's technically a behavior change, but only with regards to content that is setting the anchor-pos properties *on* pseudo-elements *without* setting a `position-anchor` value. That seems vanishingly unlikely at this point in the feature's life. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11792 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 27 February 2025 02:12:04 UTC