Click here to download the Blitz Browser!

WPT

wpt / html / semantics / forms / the-button-element / button-click-submits.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-8b5a4 (wpt@b89af32bc, 2026-09-06) | Servo Servo 0.6 (wpt@b89af32bc, 2026-09-06) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)

View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi

ChromeFirefoxSafariLadybirdServoBlitz
Total12/1212/1211/1212/1212/12NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
clicking a button with .click() should trigger a submit (form connected)PASSPASSPASSPASSPASS
clicking a button with .click() should not trigger a submit (form disconnected)PASSPASSPASSPASSPASS
clicking a button by dispatching an event should trigger a submit (form connected)PASSPASSPASSPASSPASS
clicking a button by dispatching an event should not trigger a submit (form disconnected)PASSPASSPASSPASSPASS
clicking a button that cancels the event should not trigger a submitPASSPASSPASSPASSPASS
clicking a disabled button (via disabled attribute) should not trigger submitPASSPASSPASSPASSPASS
clicking a disabled button (via ancestor fieldset) should not trigger submitPASSPASSPASSPASSPASS
clicking a button inside a disabled fieldset's legend *should* trigger submitPASSPASSPASSPASSPASS
clicking the child of a button with .click() should trigger a submitPASSPASSPASSPASSPASS
clicking the child of a button by dispatching a bubbling event should trigger a submitPASSPASSPASSPASSPASS
clicking the child of a button by dispatching a non-bubbling event should not trigger submitPASSPASSFAILPASSPASS
clicking the child of a disabled button with .click() should not trigger submitPASSPASSPASSPASSPASS