[csswg-drafts] [css-view-transitions-2] Automatic support for clipping? (#8821)

noamr has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-view-transitions-2] Automatic support for clipping? ==
In v1, participating elements escape ancestor clip.
This means for example, that clipping the entire document with a circle `clip-path` and then transitioning between elements inside it, the circle clip would disappear during the transition.

This can be manually fixed by applying a clip-path to the transition pseudo-element, but perhaps we can do a better job at this automatically - coalesce the transformed ancestor paths for a captured element, and apply it as a clip path to the pseudo element. Not sure if this would produce better results than [the nested transition group proposal](https://github.com/WICG/view-transitions/blob/main/explainer.md#nested-transition-groups) but I thought I should raise this for discussion so that the use cases is considered.


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8821 using your GitHub account


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

Received on Monday, 8 May 2023 14:40:17 UTC