Re: [csswg-drafts] [css-view-transitions-2] Optionally capture some properties (e.g. opacity/border) as style instead of snapshot (#10585)

> > `auto` could mean:
> > ```
> > * Use `morph` when the group contains other groups
> > 
> > * Use `shapeshift` when animating from very far from the viewport (100vw, 100vh?)
> > 
> > * Otherwise, use `crossfade`
> > ```
> 
> Is there a reason for `auto` not using `morph` automatically if two elements with differing 3D transforms (or similar) are being transitioned between? Because like this, transitioning one 3D transformed element to a differently 3D transformed element just crossfades between the two and it looks rather janky.

If an element is flat (doesn't have nested descendants), there shouldn't be a difference regarding the internal 3D transform (e.g. `perspective`), as the image is flattened anyway. The external transform is part of transitioning the geometry in all the styles.

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


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

Received on Monday, 19 August 2024 12:10:37 UTC