- From: Robert Flack via GitHub <noreply@w3.org>
- Date: Mon, 26 Jan 2026 16:01:15 +0000
- To: public-css-archive@w3.org
> I personally don't know of a solution here, but that of course doesn't mean there isn't one :) Does anyone know how to solve this?
Without inventing something new and in light of the content box shaping discussed here, the only way I know of I mentioned above in https://github.com/w3c/csswg-drafts/issues/13388#issuecomment-3793263664, which is to apply clipping on a child element, e.g.
```css
::view-transition-group-children {
border: /* size and shaping from original element */
padding-right: 16px; /* Automatically added because the UA knew there was a right-side scrollbar. */
}
::view-transition-group-children-clip {
overflow: clip;
}
```
Where `::view-transition-group-children-clip` is the immediate child of `::view-transition-group-children` and parent to the children. Here's a [demo](https://jsbin.com/cocayaf/edit?html,css,output)
--
GitHub Notification of comment by flackr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13388#issuecomment-3800363436 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 26 January 2026 16:01:16 UTC