Re: [csswg-drafts] [css-view-transitions-2] Proposal for a view-transition-tree property (name tbd) (#10334)

> 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.

> 
> To get to what you (Noam) are suggesting, there could maybe be an extra property to indicate that authors only want the old pseudo in the outgoing (blue) column and the new pseudo in the incoming (green) column.

I guess what I'm saying is that you can already achieve the previous effect (by using the common ancestor) and mismatching parents *is* that extra property. It's a bit of an odd one to declare in your CSS so I think it's OK if it creates an animation that's different from the other ones.

-- 
GitHub Notification of comment by noamr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10334#issuecomment-2223690861 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:07:25 UTC