- From: David A via GitHub <noreply@w3.org>
- Date: Mon, 15 Sep 2025 16:27:23 +0000
- To: public-css-archive@w3.org
I am putting this on the agenda as it would be good to resolve this along with #12562. The following table lists the set of animation trigger action keywords we are proposing along with how they interact with the various animation states: Keyword | Initial | Playing | Paused | Finished -- | -- | -- | -- | -- play | play() | nothing | play() | play() play-once | play() | nothing | play() | nothing play-forwards | Set playback rate positive, play() | Set playback rate positive | (same as initial) | (same as initial) play-backwards | Set playback rate negative, play() | Set playback rate negative | (same as initial) | (same as initial) play-alternate | play() | Negates playback rate | play() | Negates playback rate, play() pause | nothing | pause() | nothing | nothing play-pause | play() | pause() | play() | play() reset | nothing | set progress to 0, pause() | (same as playing) | (same as playing) restart/replay | play() | set progress to 0 | set progress to 0, play() | set progress to 0, play() Some of the names/interactions may need modification but the table covers the set of [behaviors](https://drafts.csswg.org/web-animations-2/#trigger-behaviors) we originally specified. -- GitHub Notification of comment by DavMila Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12611#issuecomment-3292998336 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 15 September 2025 16:27:24 UTC