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

> Not sure if the last part and is being painted into this ancestor's snapshot is required. What case are you trying to capture here? IOW when is it not being painted into some shared ancestor?

The root snapshot is clipped to the snapshot viewport, described in the spec [here](https://drafts.csswg.org/css-view-transitions-1/#ref-for-computing-the-interest-rectangle:~:text=Render%20the%20region%20of%20the%20element%20and%20the%20top%20layer%20that%20intersects%20the%20snapshot%20viewport). The c-v: auto element's closest ancestor, which is participating in the view transition, is the root. The root snapshot is clipped to the snapshot viewport. If the c-v: auto element is outside the snapshot viewport (which is likely if its skipping its contents) then we don't need to force it to become relevant to the user. Since it not being rendered into the root snapshot anyway.

-- 
GitHub Notification of comment by khushalsagar
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8060#issuecomment-1375936128 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:48:02 UTC