- From: Bramus via GitHub <noreply@w3.org>
- Date: Fri, 13 Mar 2026 09:01:56 +0000
- To: public-css-archive@w3.org
IIUC you are proposing this: Keyword | Extra Effect | initial | playing | paused | finished -- | -- | -- | -- | -- | -- play-forwards | set playback rate to positive | play() | — | play() | ~~play()~~ — play-backwards | set playback rate to negative | play() | — | play() | ~~play()~~ — Wouldn’t that prevent `--depress` from actually playing the already finished animation? > The intention is clearly that the button should animate to its pressed state, and back, however it may be possible to trigger the pointerup action multiple times (e.g. clicking both buttons one at a time and releasing one at a time). If the user does this, I think the developer would not intend the animation to replay the press animation from the start but rather to just stay pressed. In between the clicking on button1 and the click on button2, that would already trigger `--depress` on button1, no? In that case, it would just revert the already playing animation. -- GitHub Notification of comment by bramus Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13643#issuecomment-4053695282 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 13 March 2026 09:01:57 UTC