WPT
wpt / html / semantics / forms / the-button-element / button-events.html
Spec: HTML ↗
Runs: Chrome 155.0.8043.0 (wpt@b89af32bc, 2026-09-05) | Firefox 157.0a1 (wpt@b89af32bc, 2026-09-05) | Safari 251 preview (wpt@b89af32bc, 2026-09-05) | Ladybird 1.0-5e6af (wpt@b89af32bc, 2026-09-05) | 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 | 9/9 | 9/9 | 9/9 | 9/9 | 9/9 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| The submit event must be fired when click a button in submit status | PASS | PASS | PASS | PASS | PASS | — |
| The reset event must be fired when click a button in reset status | PASS | PASS | PASS | PASS | PASS | — |
| type=button shouldn't trigger submit or reset events | PASS | PASS | PASS | PASS | PASS | — |
| Switching from type=button to type=submit should submit the form | PASS | PASS | PASS | PASS | PASS | — |
| Switching from type=button to type=reset should reset the form | PASS | PASS | PASS | PASS | PASS | — |
| Innermost button should submit its form | PASS | PASS | PASS | PASS | PASS | — |
| Innermost button should reset its form | PASS | PASS | PASS | PASS | PASS | — |
| Anchor inside a button should be prevent button activation | PASS | PASS | PASS | PASS | PASS | — |
| input type=submit inside a button should be prevent button activation | PASS | PASS | PASS | PASS | PASS | — |