[csswg-drafts] Pull Request: [css-view-transitions-1] Refactor timings of `updateCallbackDone` and related

noamr has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== [css-view-transitions-1] Refactor timings of `updateCallbackDone` and related ==
Note: this change is not a behavior change, but rather a clarification of existing expected behavior.

- Instead of reacting to the update callback's promise in several places, we react to it once with fulfill/reject steps and continue based on the state, all inside the "call the update callback" algorithm.
- Clarify that in the successful case, `updateCallbackDone` is always resolved after the new state capture but before the `ready` promise. (This is current behavior, but not explicit in the current spec).
- Fix a bug where we were resolving a promise with the result of reacting to a different promise, which is wrong use of those operations.
- Use normative language for user-agent transition timeout
- Remove redundant early returns for `done` phase.

Closes #9762

See https://github.com/w3c/csswg-drafts/pull/9774


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

Received on Monday, 8 January 2024 16:27:56 UTC