Click here to download the Blitz Browser!

WPT

wpt / html / semantics / the-button-element / command-and-commandfor / button-type-behavior.html

Spec: HTML ↗

Runs: Chrome 155.0.8042.0 (wpt@a1ecd0c09, 2026-09-04) | Firefox 157.0a1 (wpt@e23cee339, 2026-09-04) | Safari 251 preview (wpt@e7122b73f, 2026-09-04) | Ladybird 1.0-52f0f (wpt@0588f3896, 2026-09-04) | 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
Total23/2323/2323/2323/231/23NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
Button type=reset in form should trigger form reset and not toggle popoverPASSPASSPASSPASSPASS
Button type=submit in form should trigger form submit and not toggle popoverPASSPASSPASSPASSNOTRUN
Button type=button in form should not toggle popoverPASSPASSPASSPASSNOTRUN
Button type=invalid in form should not trigger form submit and not toggle popoverPASSPASSPASSPASSNOTRUN
Button type=invalid in form with only command should not trigger form submit and not toggle popoverPASSPASSPASSPASSNOTRUN
Button type=invalid in form with only commandfor should not trigger form submit and not toggle popoverPASSPASSPASSPASSNOTRUN
Button missing type in form should not trigger form submit and not toggle popoverPASSPASSPASSPASSNOTRUN
Button missing type in form with only command should not trigger form submit and not toggle popoverPASSPASSPASSPASSNOTRUN
Button missing type in form with only commandfor should not trigger form submit and not toggle popoverPASSPASSPASSPASSNOTRUN
Button type=reset with form attr should trigger form reset and not toggle popoverPASSPASSPASSPASSNOTRUN
Button type=submit with form attr should trigger form submit and not toggle popoverPASSPASSPASSPASSNOTRUN
Button type=button with form attr should toggle popoverPASSPASSPASSPASSNOTRUN
Button type=invalid with form attr should not trigger form submit and not toggle popoverPASSPASSPASSPASSNOTRUN
Button type=invalid with form attr and only command should not trigger form submit and not toggle popoverPASSPASSPASSPASSNOTRUN
Button type=invalid with form attr and only commandfor should not trigger form submit and not toggle popoverPASSPASSPASSPASSNOTRUN
Button missing type with form attr should not trigger form submit and not toggle popoverPASSPASSPASSPASSNOTRUN
Button missing type with form attr and only command should not trigger form submit and not toggle popoverPASSPASSPASSPASSNOTRUN
Button missing type with form attr and only commandfor should not trigger form submit and not toggle popoverPASSPASSPASSPASSNOTRUN
Button type=reset outside form should toggle popoverPASSPASSPASSPASSNOTRUN
Button type=submit outside form should toggle popoverPASSPASSPASSPASSNOTRUN
Button type=button outside form should toggle popoverPASSPASSPASSPASSNOTRUN
Button type=invalid outside form should toggle popoverPASSPASSPASSPASSNOTRUN
Button missing type outside form should toggle popoverPASSPASSPASSPASSNOTRUN