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
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 23/23 | 23/23 | 23/23 | 23/23 | 1/23 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| Button type=reset in form should trigger form reset and not toggle popover | PASS | PASS | PASS | PASS | PASS | — |
| Button type=submit in form should trigger form submit and not toggle popover | PASS | PASS | PASS | PASS | NOTRUN | — |
| Button type=button in form should not toggle popover | PASS | PASS | PASS | PASS | NOTRUN | — |
| Button type=invalid in form should not trigger form submit and not toggle popover | PASS | PASS | PASS | PASS | NOTRUN | — |
| Button type=invalid in form with only command should not trigger form submit and not toggle popover | PASS | PASS | PASS | PASS | NOTRUN | — |
| Button type=invalid in form with only commandfor should not trigger form submit and not toggle popover | PASS | PASS | PASS | PASS | NOTRUN | — |
| Button missing type in form should not trigger form submit and not toggle popover | PASS | PASS | PASS | PASS | NOTRUN | — |
| Button missing type in form with only command should not trigger form submit and not toggle popover | PASS | PASS | PASS | PASS | NOTRUN | — |
| Button missing type in form with only commandfor should not trigger form submit and not toggle popover | PASS | PASS | PASS | PASS | NOTRUN | — |
| Button type=reset with form attr should trigger form reset and not toggle popover | PASS | PASS | PASS | PASS | NOTRUN | — |
| Button type=submit with form attr should trigger form submit and not toggle popover | PASS | PASS | PASS | PASS | NOTRUN | — |
| Button type=button with form attr should toggle popover | PASS | PASS | PASS | PASS | NOTRUN | — |
| Button type=invalid with form attr should not trigger form submit and not toggle popover | PASS | PASS | PASS | PASS | NOTRUN | — |
| Button type=invalid with form attr and only command should not trigger form submit and not toggle popover | PASS | PASS | PASS | PASS | NOTRUN | — |
| Button type=invalid with form attr and only commandfor should not trigger form submit and not toggle popover | PASS | PASS | PASS | PASS | NOTRUN | — |
| Button missing type with form attr should not trigger form submit and not toggle popover | PASS | PASS | PASS | PASS | NOTRUN | — |
| Button missing type with form attr and only command should not trigger form submit and not toggle popover | PASS | PASS | PASS | PASS | NOTRUN | — |
| Button missing type with form attr and only commandfor should not trigger form submit and not toggle popover | PASS | PASS | PASS | PASS | NOTRUN | — |
| Button type=reset outside form should toggle popover | PASS | PASS | PASS | PASS | NOTRUN | — |
| Button type=submit outside form should toggle popover | PASS | PASS | PASS | PASS | NOTRUN | — |
| Button type=button outside form should toggle popover | PASS | PASS | PASS | PASS | NOTRUN | — |
| Button type=invalid outside form should toggle popover | PASS | PASS | PASS | PASS | NOTRUN | — |
| Button missing type outside form should toggle popover | PASS | PASS | PASS | PASS | NOTRUN | — |