Re: [csswg-drafts] [css-view-transitions-1] Behaviour of the `finished` promise (#7956)

The CSS Working Group just discussed `[css-view-transitions-1] Behaviour of the finished promise`, and agreed to the following:

* `RESOLVED: Accept proposal`

<details><summary>The full IRC log of that discussion</summary>
&lt;fantasai> Topic: [css-view-transitions-1] Behaviour of the finished promise<br>
&lt;fantasai> github: https://github.com/w3c/csswg-drafts/issues/7956<br>
&lt;fantasai> JakeA: When you start a view transition, you get an object back that has some promises that you can use to track various things<br>
&lt;fantasai> JakeA: one of these is the "finished" promise<br>
&lt;fantasai> JakeA: question is, what should happen if the DOM change is successful, but the transition is not?<br>
&lt;fantasai> JakeA: transition could not be successful in the case of misconfiguration, e.g. duplicate IDs<br>
&lt;fantasai> JakeA: could also mean that transition is abandoned halfway through, because more important transition coming in<br>
&lt;fantasai> JakeA: Originally spec would reject unless the transition gets to final frame<br>
&lt;fantasai> JakeA: goes through the whole duration of the transition<br>
&lt;fantasai> JakeA: Proposing that it finishes whenever it gets to the end state<br>
&lt;fantasai> JakeA: we were influenced by animation.finish()<br>
&lt;fantasai> JakeA: and animation.finished which will resolve<br>
&lt;flackr> +1<br>
&lt;fantasai> JakeA: Desire to change this came after showing them the APIs, and asking them to guess what it would do<br>
&lt;fantasai> JakeA: that seemed to be where people were leaning :)<br>
&lt;fantasai> Rossen_: +1 for taking the time<br>
&lt;fantasai> Rossen_: and alignment with animations is awesome<br>
&lt;fantasai> Rossen_: any objections?<br>
&lt;bramus> +1<br>
&lt;fantasai> RESOLVED: Accept proposal<br>
&lt;fantasai> JakeA: Yes, animation needs to have stopped (even if not completed), and user is looking at new state<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7956#issuecomment-1309088601 using your GitHub account


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

Received on Wednesday, 9 November 2022 17:21:47 UTC