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

> Just copying the border-width does sound a bit strange, and potentially a bit magical.

This is a tradeoff that is being made. Copying the border is sufficient to make sure that _if_ the original enclosing element has any border decorations, authors can copy them over _without needing to do any adjusting of the values_. E.g. they can copy over a `border-radius` without needing to adjust the value to being the _inner_ border-radius.

This aligns the behavior of nested view transition groups with that of not using view transition groups: box decorations – if any – need to be copied over if you want to them actually do anything. When copying them over, one can take the existing values without any adjusting needed.

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


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

Received on Thursday, 22 May 2025 22:30:59 UTC