WPT
wpt / web-animations / interfaces / Animation / onfinish.html
Spec: Web Animations ↗
Runs: Chrome 155.0.8041.0 (wpt@18be93235, 2026-09-04) | Firefox 157.0a1 (wpt@1b4bc17cf, 2026-09-04) | Safari 251 preview (wpt@2c385f65e, 2026-09-04) | Ladybird 1.0-17043 (wpt@25681acff, 2026-09-04) | Servo Servo 0.6 (wpt@2c385f65e, 2026-09-04) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 7/7 | 7/7 | 7/7 | 7/7 | 0/7 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| onfinish event is fired when the currentTime < 0 and the playbackRate < 0 | PASS | PASS | PASS | PASS | FAIL | — |
| onfinish event is fired when the currentTime > 0 and the playbackRate > 0 | PASS | PASS | PASS | PASS | FAIL | — |
| onfinish event is fired when animation.finish() is called | PASS | PASS | PASS | PASS | FAIL | — |
| onfinish event is not fired when paused | PASS | PASS | PASS | PASS | FAIL | — |
| onfinish event is not fired when the playbackRate is zero | PASS | PASS | PASS | PASS | FAIL | — |
| onfinish event is not fired when the animation falls out finished state immediately | PASS | PASS | PASS | PASS | FAIL | — |
| Animation can be restarted from the onfinish event | PASS | PASS | PASS | PASS | FAIL | — |