Re: [csswg-drafts] [css-view-transitions-2] Clarify what happens if a transition is initiated during a rendering update (#8875)

The steps in view transitions "[Monkey patches to rendering"](https://drafts.csswg.org/css-view-transitions-1/#monkey-patch-to-rendering-algorithm) define that the pending-capture phase which does the initial set up runs "before the intersection observer steps" in the [update the rendering](https://html.spec.whatwg.org/multipage/webappapis.html#update-the-rendering) which is step 7.16. Animation frame callbacks are step 7.13. So it looks like the spec says the frame which runs the animation frame callback is also the same frame that sets the transition up, which is what we want.

This is also true if you start the transition in the resize observer callbacks which are run in 7.14 loop

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


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

Received on Wednesday, 7 June 2023 16:36:39 UTC