Click here to download the Blitz Browser!

WPT

wpt / html / semantics / forms / the-button-element / button-click-submits-with-commandfor.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
Total6/66/66/66/66/6NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
clicking a button (implicit type) should NOT trigger a submit (with command attribute)PASSPASSPASSPASSPASS
clicking a button (implicit type) should NOT trigger a submit (with commandfor attribute)PASSPASSPASSPASSPASS
clicking a button (implicit type) should NOT trigger a submit (with command and commandfor attribute)PASSPASSPASSPASSPASS
clicking a button (explicit type=submit) SHOULD trigger a submit (with command attribute)PASSPASSPASSPASSPASS
clicking a button (explicit type=submit) SHOULD trigger a submit (with commandfor attribute)PASSPASSPASSPASSPASS
clicking a button (explicit type=submit) SHOULD trigger a submit (with command and commandfor attribute)PASSPASSPASSPASSPASS