Re: [csswg-drafts] [css-view-transitions-1] Flush the callback queue before performing other view-transition operations (#11947)

> This PR makes it a bit more obvious that the initial PR (#11693) may have had a problem in that we're running script in the middle of update the rendering steps. Namely after layout but before intersection observers and paint. That seems problematic.

Good point

> 
> Maybe we should instead frame it as if we need to set up capture and the queue is not empty, abort these steps. And then we can flush the queue outside of update the rendering (and schedule another animation frame)

Maybe, instead, we should keep rendering surpression until the queue has been emptied?

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


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

Received on Friday, 21 March 2025 16:40:54 UTC