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
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 12/12 | 12/12 | 11/12 | 12/12 | 12/12 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| clicking a button with .click() should trigger a submit (form connected) | PASS | PASS | PASS | PASS | PASS | — |
| clicking a button with .click() should not trigger a submit (form disconnected) | PASS | PASS | PASS | PASS | PASS | — |
| clicking a button by dispatching an event should trigger a submit (form connected) | PASS | PASS | PASS | PASS | PASS | — |
| clicking a button by dispatching an event should not trigger a submit (form disconnected) | PASS | PASS | PASS | PASS | PASS | — |
| clicking a button that cancels the event should not trigger a submit | PASS | PASS | PASS | PASS | PASS | — |
| clicking a disabled button (via disabled attribute) should not trigger submit | PASS | PASS | PASS | PASS | PASS | — |
| clicking a disabled button (via ancestor fieldset) should not trigger submit | PASS | PASS | PASS | PASS | PASS | — |
| clicking a button inside a disabled fieldset's legend *should* trigger submit | PASS | PASS | PASS | PASS | PASS | — |
| clicking the child of a button with .click() should trigger a submit | PASS | PASS | PASS | PASS | PASS | — |
| clicking the child of a button by dispatching a bubbling event should trigger a submit | PASS | PASS | PASS | PASS | PASS | — |
| clicking the child of a button by dispatching a non-bubbling event should not trigger submit | PASS | PASS | FAIL | PASS | PASS | — |
| clicking the child of a disabled button with .click() should not trigger submit | PASS | PASS | PASS | PASS | PASS | — |