- From: Jake Archibald via GitHub <sysbot+gh@w3.org>
- Date: Tue, 13 May 2025 09:00:28 +0000
- To: public-css-archive@w3.org
I had a chat with @bramus about this this morning. Having the `::view-transition-nested-groups` be sized to the content box does seem painful for devs, where they'd have to recreate a bunch of sizing stuff. The idea @bramus attributed to @flackr seemed great to me, where the `::view-transition-nested-groups` where the border size of the parent is captured, and assigned as a transparent border to the `::view-transition-nested-groups`. I know there were complexities around the layered capture, but do we hit them in this simple case? Unless I'm mistaken, having the things inside `::view-transition-nested-groups` be in the padding box space of the parent seems consistent with scoped view transitions. My assumption is that if you call `el.startViewTransition(…)`, the root `::view-transition` will be size `inset: 0` within `el`, meaning it's the size of `el`'s padding box. -- GitHub Notification of comment by jakearchibald Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11926#issuecomment-2875628934 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 13 May 2025 09:00:28 UTC