Re: [csswg-drafts] [css-view-transitions-2] Ignore offscreen elements from participating in transitions (#8282)

@toddpadwick the spec explicitly clips the root snapshot to the viewport, see text [here](https://drafts.csswg.org/css-view-transitions-1/#capture-the-image-algorithm:~:text=Render%20the%20region%20of%20document%20(including%20its%20canvas%20background%20and%20any%20top%20layer%20content)%20that%20intersects%20the%20snapshot%20containing%20block). If you have a case where this is not happening for the root element, it's an implementation bug.

That said, the use-case you mentioned is still relevant for non-root elements and is being tracked in https://github.com/w3c/csswg-drafts/issues/9481. This issue is about whether an element participates in the transition and #9481 is about what portion of its content is captured in an image *if it participates in the transition*.

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


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

Received on Tuesday, 20 February 2024 22:01:34 UTC