Re: [csswg-drafts] [css-view-transitions-2]: Nested ::view-transition-group should have a container pseudo. (#11926)

> Is not a huge improvement from using the border-box and doing:
> 
> clip-path: inset(<border-width> round <original-border-radius-minus-border-width>);

Would this `clip-path` be auto-generated by the UA?

If not, then I don’t think we’d ship a good default, as you’d get this behavior out of the box _(recording of [this demo](https://codepen.io/bramus/full/XWvzBdx) in Chrome Canary with flags; pay close attention to the top and bottom borders of the wrapping element while the VT runs)_:

https://github.com/user-attachments/assets/1a0ce638-0a96-45cb-b8f3-1ef73b0c4f04

If it does get generated by the UA then I think I’m fine with it.

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


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

Received on Tuesday, 6 May 2025 09:59:02 UTC