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

Capturing some discussion that we had internally:

We'd like to consider a model proposed by @flackr:
* We size the new pseudo to the border box
* We copy `border-width` to the new pseudo from the element that originated it
* We adjust the nested group pseudos to be positioned with the two of the above in mind (ie they may be shifted depending on `border-width`

This seems like a plausible middle ground: there's no sizing magic in that everything is still technically sized to the border box. Because of automatically copied `border-width` and the relevant nested group position adjustments, adding a clip or rather replicating the shape of the original element's clip is easy.

Please share your thoughts!

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


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

Received on Wednesday, 14 May 2025 16:46:57 UTC