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

> > How about `view-transition-scissor: viewport | document` ?
> 
> Iterating on this:
> 
> * For the property name: `view-transition-snapshot-area`.
> * For the values: `viewport | root`, with `root` being the VT root (which is `document` or, in the case of a scoped transition, the element on which the author called `.startViewTransition()`)
>   `root` could be confusing as one might think it’s `:root`. I have considered `element` but that doesn’t map well to `document`. Another alternative for this could be `scope`.
>   Also: what should be the default value?

I think today it's `root`? Per spec we don't capture elements that go beyond the document rect.

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


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

Received on Wednesday, 3 April 2024 09:05:21 UTC