Re: [csswg-drafts] [css-anchor-position-2] Add `any` keyword support to `anchored(fallback)` container queries (#12610)

The CSS Working Group just discussed ``[css-anchor-position-2] Add `any` keyword support to `anchored(fallback)` container queries``, and agreed to the following:

* `RESOLVED: 'any' keyword is allowed wherever 'span-all' is allowed, and omitted values that would default to 'span-all' default to 'any' for queries.`

<details><summary>The full IRC log of that discussion</summary>
&lt;TabAtkins> fantasai: discussion about anchored() query for anchor-pos-2, where you can ask which area it's anchored in<br>
&lt;TabAtkins> fantasai: proposal was to add an 'any' keyword, combinable in the same way span-all is combinable, so you can query "I want to check if it's on the left, in any track"<br>
&lt;TabAtkins> fantasai: Tim brought up that if you omit the keyword from an axis, it would make more sense to default it to 'any' in queries, rather than span-all like in the property<br>
&lt;TabAtkins> fantasai: so proposal is that a duplicated keyword is duplicated as normal, but if it would instead default to span-all in the property, it defaults to 'any' in the query<br>
&lt;TabAtkins> +1<br>
&lt;fantasai> TabAtkins: Sounds good. Tim's argument makes sense.<br>
&lt;fantasai> PROPOSED: 'any' keyword is allowed wherever 'span-all' is allowed, and omitted values that would default to 'span-all' default to 'any' for queries.<br>
&lt;futhark> q+<br>
&lt;TabAtkins> futhark: is it possible to ask for fpwd for anchor-pos-2 once this is in?<br>
&lt;TabAtkins> astearns: let's get this in first<br>
&lt;TabAtkins> astearns: objections?<br>
&lt;fantasai> RESOLVED: 'any' keyword is allowed wherever 'span-all' is allowed, and omitted values that would default to 'span-all' default to 'any' for queries.<br>
&lt;astearns> ack futhark<br>
&lt;TabAtkins> fantasai: I'd like a week to review the new spec before fpwd<br>
&lt;TabAtkins> astearns: Rune, could you add a comment to #6900 to ask for publication next week?<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12610#issuecomment-3329830278 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 24 September 2025 16:46:09 UTC