Re: [csswg-drafts] [css-view-transitions-1] finished promise timing (#12442)

Am I understanding this resolution correctly to change step 4 of handle transition frame to become this?

* If hasActiveAnimations is false:
  * If transition phase is "animating":
    * Set transition’s [phase](https://www.w3.org/TR/css-view-transitions-1/#viewtransition-phase) to "pending-done".
    * [Resolve](https://webidl.spec.whatwg.org/#resolve) transition’s [finished promise](https://www.w3.org/TR/css-view-transitions-1/#viewtransition-finished-promise).
    * (Do we return here? or do we let steps 5-6 run?) Return.
  * If transition phase is "pending-done":
    * [Clear view transition](https://www.w3.org/TR/css-view-transitions-1/#clear-view-transition) transition.
    * Set transition’s [phase](https://www.w3.org/TR/css-view-transitions-1/#viewtransition-phase) to "done".
    * Return.



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


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

Received on Friday, 15 August 2025 01:53:34 UTC