html
html copied to clipboard
Wrap "activate view transition" with script prepare/clean up
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.)
Thanks. LGTM!
@domenic I applied the nit suggestions and also filled in the boxes. Ready to merge?