Re: [csswg-drafts] [css-contain-4] c-v: auto elements painted into snapshots for View Transitions (#8060)

Ok. Thanks for clarifying. So a summary and proposed resolution for the 2 cases is:

- An element with c-v: auto has a descendant with a non-none `view-transition-name`. The element did not skip its contents when discovering elements which participate in a transition but does so mid-transition. That would cause the descendant to not paint. So we either force the ancestor to stay relevant throughout the transition or abort it (similar to an ancestor adding `display: none`).
   **Proposed resolution**: An element with c-v: auto is relevant to the user if it contains within its subtree an element that participates in a view transition.

- An element with c-v: auto has an ancestor which is participating in a transition. So the descendant's painting is required for generating the ancestor's image.
   **Proposed resolution**: An element with c-v: auto is relevant to the user if it is inside the subtree of an element that participates in a view transition and is being painted into this ancestor's snapshot.

Lmk if the summary and wording of the proposed resolution sound good.

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


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

Received on Monday, 9 January 2023 16:29:01 UTC