- From: Noam Rosenthal via GitHub <sysbot+gh@w3.org>
- Date: Thu, 11 Jul 2024 19:16:16 +0000
- To: public-css-archive@w3.org
> > > What if, by default, the old+new yellow were drawn in both blue and green? That would result in the same animation as if no clipping was applied. > > > > > > That's identical to using the common ancestor though, and the effect would be abrupt: right at the start in the animation the clipping would be gone. If that's the default animation we want, we should default to the common ancestor. > > Sorry I wasn't clear here: I meant it would have the same animation (movement of the group, cross-fading of old+new) as in the current no-clip scenario, but the groups would still be clipped by the green/blue groups. > > (Not sure if that makes it more clear though 😅) Oh you mean do the split as suggested, but duplicate the snapshots to be both old and new? Yea that would work for `:only-child` but it would make it hard to control the actual old/new parts of the transition. I was thinking in the split scenario that you'd use `::view-transition-{old|new}(yellow)` as the main way to customize the animation, it feels a bit more important than `:only-child` in a way (and also is a more accurate representation of the content). -- GitHub Notification of comment by noamr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10334#issuecomment-2223704511 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 11 July 2024 19:16:17 UTC