Re: [csswg-drafts] [css-view-transitions-1] finished promise timing (#12442)

> Isn't that what happens today?

no, right now the clean up happens within update the rendering, which produces a visual frame without vt before finished promise runs. 



> I think that is what the resolution says basically?

Technically, but it's really about where the cleanup happens. If the cleanup is outside of the update the rendering then the finish resolution can still be within, since it will run at microtask checkpoint as the last thing in update the rendering loop. 

What I want to avoid is posting a separate task to do both cleanup and finish promise resolution, since that moves the promise callback to run at microtask checkpoint after the cleanup, vs at microtask checkpoint after update the rendering and before the task that runs the cleanup

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


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

Received on Tuesday, 12 August 2025 20:28:59 UTC