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

A third value which would be useful for a case like https://deploy-preview-32--infrequently.netlify.app/, the page has a massive element which will be captured in entirety while the animation doesn't need that.

Syntax ideas, `view-transition-offscreen: clip` allows the UA to snapshot an intersection of the element's ink overflow rectangle with the visible viewport or [snapshot root](https://drafts.csswg.org/css-view-transitions-1/#snapshot-root-concept). Potential add-on is `view-transition-offscreen: clip inset(10px)`, second argument allows specifying an explicit skirt by which the snapshot should be expanded in either direction.

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


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

Received on Monday, 23 January 2023 23:13:28 UTC