- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Fri, 15 Sep 2023 13:37:12 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-anchor-position-1] Better reusability of anchor names`, and agreed to the following: * ``RESOLVED: Add an `anchor-scope` property`` <details><summary>The full IRC log of that discussion</summary> <emeyer> TabAtkins: It was brought up that right now, per spec, anchor names are whole-document visible<br> <fantasai> proposal -> https://github.com/w3c/csswg-drafts/issues/9045#issuecomment-1698431258<br> <emeyer> …They don’t have to be unique, and there are rules to deal with non-unique, but they’re all document-global<br> <emeyer> …So it’s hard to make a component that has self-contained visibility<br> <emeyer> …We’d like to fix this; there are a number of ways to do this<br> <emeyer> …We think we’d like to have an anchor-scope property<br> <emeyer> …You’d designate a container that scopes internal names or all names<br> <emeyer> …You can make a component, use a well-chosen name, and abspos will find the correct nearby anchor without grabbing something else on the page<br> <emeyer> fantasai: This was one of the things outlined when looking through the proposal back in July, so I think it makes sense to follow timeline scope<br> <emeyer> astearns: Do we want to create timeline-scope, anchor-scope, whatever-else-scope, or can we create an ident-scope?<br> <bramus> +1 to what fantasai said<br> <emeyer> TabAtkins: No. It’s hard and namespaces clash<br> <bramus> there’s a separate issue for `timeline-scope`: https://github.com/w3c/csswg-drafts/issues/9158<br> <emeyer> …You could allow naming the thing you’re scoping, but then you end up with additive scope clashes<br> <emeyer> astearns: Works for me<br> <fantasai> +1<br> <emeyer> bramus: +1 to fantasai about keeping timeline-scope separate<br> <emeyer> astearns: Proposal is to add `anchor-scope`<br> <emeyer> TabAtkins: Yes, which works like `tineline-scope`<br> <emeyer> astearns: We may want a central place to document all of this<br> <emeyer> astearns: Any objections?<br> <emeyer> (silence)<br> <emeyer> RESOLVED: Add an `anchor-scope` property<br> <vmpstr> vmpstr<br> <emeyer> vmpstr: Will style containment still scope acnhors independent of this property?<br> <emeyer> fantasai: Yes<br> <emeyer> astearns: It would win, I believe<br> <emeyer> fantasai: Yes<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9045#issuecomment-1721297734 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 15 September 2023 13:37:13 UTC