- From: Rune Lillesveen via GitHub <noreply@w3.org>
- Date: Tue, 09 Sep 2025 12:49:31 +0000
- To: public-css-archive@w3.org
A concrete proposal:
- Introduce a new `<position-area-query>` which is `<position-area>` extended with an ambiguous `any` keyword for each alternative production:
```
<position-area-query> = [
[ left | center | right | span-left | span-right
| x-start | x-end | span-x-start | span-x-end
| x-self-start | x-self-end | span-x-self-start | span-x-self-end
| span-all | any ]
||
[ top | center | bottom | span-top | span-bottom
| y-start | y-end | span-y-start | span-y-end
| y-self-start | y-self-end | span-y-self-start | span-y-self-end
| span-all | any ]
|
[ block-start | center | block-end | span-block-start | span-block-end | span-all | any ]
||
[ inline-start | center | inline-end | span-inline-start | span-inline-end
| span-all | any ]
|
[ self-block-start | center | self-block-end | span-self-block-start
| span-self-block-end | span-all | any ]
||
[ self-inline-start | center | self-inline-end | span-self-inline-start
| span-self-inline-end | span-all | any ]
|
[ start | center | end | span-start | span-end | span-all | any ]{1,2}
|
[ self-start | center | self-end | span-self-start | span-self-end | span-all | any ]{1,2}
]
```
- Since `any` is ambiguous, `any` is the same as `any any`.
- `any` matches any `<position-area>` value for its resolved axis (resolved as other ambiguous values like `center`).
- Replace `<position-area>` with `<position-area-query>` in https://drafts.csswg.org/css-anchor-position-2/#anchored
--
GitHub Notification of comment by lilles
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12610#issuecomment-3270595678 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 9 September 2025 12:49:31 UTC