Re: [csswg-drafts] [css-view-transitions-1] Display live image when element is outside the snapshot containing block in old state (#10587)

> > WebKit doesn't use textures for View Transitions, so this optimization may just not apply to us.
> 
> How do you preserve the content of the old element (to show in `::view-transition-old`) after the author has removed it from the Document during the update callback?

It's an ImageBuffer of the old content: 
https://searchfox.org/wubkat/rev/f86c58c39ff0ce9b1d3679afdaf9655f85ae113c/Source/WebCore/dom/ViewTransition.h#62
https://searchfox.org/wubkat/rev/f86c58c39ff0ce9b1d3679afdaf9655f85ae113c/Source/WebCore/dom/ViewTransition.cpp#293

The new live snapshot is just the element's graphics layers reparented to the pseudo-element.

-- 
GitHub Notification of comment by nt1m
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/10587#issuecomment-2239964361 using your GitHub account


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

Received on Friday, 19 July 2024 19:15:59 UTC