- From: Bramus via GitHub <sysbot+gh@w3.org>
- Date: Tue, 13 May 2025 10:02:58 +0000
- To: public-css-archive@w3.org
> In this case, capturing the "border size" is insufficient when there is also a border radius or corner-shape, and future enhancements like `border-shape` might make it even more convoluted. But it would be good to see a more detailed version of this idea. I believe that capturing _only_ the border would be a nice tradeoff here. It would result in: - Nested groups being positioned correctly without rendering on top of the snapshotted wrapper’s border – similar to the actual elements in the DOM, making the base use-case of _“the wrapper element has a border”_ work. - Not be concerned with any of the properties – existing or future – that alter the paint clip of an element. If authors use _any_ of those properties, they would need to replicate them on the `::view-transition-nested-groups` snapshot. Replicating things would be pretty easy to do in this case: you don’t need to do any special calculations such as _“calculate the inner border radius”_ as you can copy over the actual `border-radius` from the original element. -- GitHub Notification of comment by bramus Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11926#issuecomment-2875839225 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 13 May 2025 10:02:59 UTC