html icon indicating copy to clipboard operation
html copied to clipboard

Wrap "activate view transition" with script prepare/clean up

Open noamr opened this issue 10 months ago • 1 comments

This ensures that we perform a microtask checkpoint (and set the incumbent script) right after resolving/rejecting the ViewTransition promises.

It's necessary as those promises need to be resolved before the other rendering operations, mainly style/layout.

  • [ ] At least two implementers are interested (and none opposed):
  • [ ] Tests are written and can be reviewed and commented upon at:
  • [ ] Implementation bugs are filed:
    • Chromium: …
    • Gecko: …
    • WebKit: …
    • Deno (only for timers, structured clone, base64 utils, channel messaging, module resolution, web workers, and web storage): …
    • Node.js (only for timers, structured clone, base64 utils, channel messaging, and module resolution): …
  • [ ] MDN issue is filed: …
  • [ ] The top of this comment includes a clear commit message to use.

(See WHATWG Working Mode: Changes for more details.)


/browsing-the-web.html ( diff )

noamr avatar Apr 18 '24 08:04 noamr

Thanks. LGTM!

khushalsagar avatar Apr 22 '24 12:04 khushalsagar

@domenic I applied the nit suggestions and also filled in the boxes. Ready to merge?

noamr avatar Jul 11 '24 08:07 noamr