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

> I feel like `anchored(fallback: left)` is more natural than `anchored(fallback: left any)` for that use case

What about `center`? Would that be `center center` (how position-area expands) or `center any`?

For the latter, querying:

`anchored(fallback: center)`

would match both of:

`position-try-fallbacks: center left, center`

To match only the second fallback you would need to query:

`anchored(fallback: center center)`

So, perhaps for single value queries, the second is `any` if the single value is unambiguous, otherwise it's repeated as for position-area?


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


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

Received on Tuesday, 23 September 2025 11:53:17 UTC