Re: [csswg-drafts] [css-view-transitions-1] Should contain layout/paint be required (#8139)

To add to this, I think elements participating in a view transition should have `trasform-style: flat`, because we will be moving the paint of this element elsewhere so it makes sense to flatten it, not to mention that this also avoids a large implementation complexity.

both `opacity < 1` and `isolation: isolate` are [grouping property values](https://w3c.github.io/csswg-drafts/css-transforms-2/#grouping-property-values) so this would work.

I want to consider that `view-transition-name` should imply one of the grouping properties, like `isolation: isolate`, without the need for there to be an ongoing transition. IOW, the presence of the property should be enough to put `isolation: isolate` on it to ensure that the effect imposed by the property is not ephemeral.

As a side note, `view-transition-name` and in general elements participating in a view transition should have `isolation: isolate` on its own due to the fact that the blending of captured pixels would be different in a non-normal `mix-blend-mode`



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


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

Received on Monday, 16 January 2023 19:36:14 UTC