Click here to download the Blitz Browser!

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

ChromeFirefoxSafariLadybirdServoBlitz
Total9/99/99/99/99/9NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
The submit event must be fired when click a button in submit statusPASSPASSPASSPASSPASS
The reset event must be fired when click a button in reset statusPASSPASSPASSPASSPASS
type=button shouldn't trigger submit or reset eventsPASSPASSPASSPASSPASS
Switching from type=button to type=submit should submit the formPASSPASSPASSPASSPASS
Switching from type=button to type=reset should reset the formPASSPASSPASSPASSPASS
Innermost button should submit its formPASSPASSPASSPASSPASS
Innermost button should reset its formPASSPASSPASSPASSPASS
Anchor inside a button should be prevent button activationPASSPASSPASSPASSPASS
input type=submit inside a button should be prevent button activationPASSPASSPASSPASSPASS