- From: Bramus via GitHub <noreply@w3.org>
- Date: Tue, 09 Sep 2025 11:36:50 +0000
- To: public-css-archive@w3.org
There have been other requests, unrelated to View Transitions, for the ability to position something against a specific container:
- #7475 (specifically [this comment](https://github.com/w3c/csswg-drafts/issues/7475#issuecomment-1182982687)) to add an extension to `position: fixed` to allow one to indicate _what_ to posfix against.
- #8762 to add `container-fixed` as a keyword for `position`
- #9868 to add a `position-container` property
I believe either one of those would solve this.
Also, if I read https://github.com/w3c/csswg-drafts/issues/11769#issuecomment-2776545248 correctly, I don’t think the `::view-transition` can anchor itself to the transition root. I tried it in Chrome Canary and it didn’t work for me.
```css
#scope {
anchor-name: --scope;
}
#scope::view-transition {
position-anchor: --scope;
…
}
```
--
GitHub Notification of comment by bramus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12324#issuecomment-3270286572 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 11:36:50 UTC