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

Yeah, so I think you're right that you need _some_ grouping pseudo to get the clipping you want. I think what I'm concerned about is the "sizing to padding-box" special-ness.

@vmpstr and I quickly chatted, and I think that the padding-box behavior:

```css
overflow: clip;
border-radius: <original-border-radius-minus-border-width>;
```

Is not a huge improvement from using the border-box and doing:

```css
clip-path: inset(<border-width> round <original-border-radius-minus-border-width>);
```

So I think I'd prefer to add the pseudo-element with the border-box sizing so it's more consistent with all the already-existing grouping and v-t pseudo-elements.

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


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

Received on Monday, 5 May 2025 16:04:05 UTC