Click here to download the Blitz Browser!

WPT

wpt / html / semantics / the-button-element / command-and-commandfor / button-event-dispatch.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-0c53a (wpt@b89af32bc, 2026-09-05) | 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
Total57/5738/5738/5738/5734/57NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
event dispatches on click with addEventListenerPASSFAILFAILFAILFAIL
event dispatches on click with oncommand propertyPASSFAILFAILFAILFAIL
setting custom command property to --foo (must include dash) sets event commandPASSFAILFAILFAILFAIL
setting custom command attribute to --foo (must include dash) sets event commandPASSFAILFAILFAILFAIL
setting custom command property to --foo- (must include dash) sets event commandPASSFAILFAILFAILFAIL
setting custom command attribute to --foo- (must include dash) sets event commandPASSFAILFAILFAILFAIL
setting custom command property to --cAsE-cArRiEs (must include dash) sets event commandPASSFAILFAILFAILFAIL
setting custom command attribute to --cAsE-cArRiEs (must include dash) sets event commandPASSFAILFAILFAILFAIL
setting custom command property to -- (must include dash) sets event commandPASSFAILFAILFAILFAIL
setting custom command attribute to -- (must include dash) sets event commandPASSFAILFAILFAILFAIL
setting custom command property to --a- (must include dash) sets event commandPASSFAILFAILFAILFAIL
setting custom command attribute to --a- (must include dash) sets event commandPASSFAILFAILFAILFAIL
setting custom command property to --a-b (must include dash) sets event commandPASSFAILFAILFAILFAIL
setting custom command attribute to --a-b (must include dash) sets event commandPASSFAILFAILFAILFAIL
setting custom command property to --- (must include dash) sets event commandPASSFAILFAILFAILFAIL
setting custom command attribute to --- (must include dash) sets event commandPASSFAILFAILFAILFAIL
setting custom command property to --show-picker (must include dash) sets event commandPASSFAILFAILFAILFAIL
setting custom command attribute to --show-picker (must include dash) sets event commandPASSFAILFAILFAILFAIL
setting custom command property to -foo (no dash) did not dispatch an eventPASSPASSPASSPASSPASS
setting custom command attribute to -foo (no dash) did not dispatch an eventPASSPASSPASSPASSPASS
setting command attribute to -foo (no dash) did not dispatch an event with an svg targetPASSPASSPASSPASSPASS
setting custom command property to -foo- (no dash) did not dispatch an eventPASSPASSPASSPASSPASS
setting custom command attribute to -foo- (no dash) did not dispatch an eventPASSPASSPASSPASSPASS
setting command attribute to -foo- (no dash) did not dispatch an event with an svg targetPASSPASSPASSPASSPASS
setting custom command property to foo-bar (no dash) did not dispatch an eventPASSPASSPASSPASSPASS
setting custom command attribute to foo-bar (no dash) did not dispatch an eventPASSPASSPASSPASSPASS
setting command attribute to foo-bar (no dash) did not dispatch an event with an svg targetPASSPASSPASSPASSPASS
setting custom command property to -foo bar (no dash) did not dispatch an eventPASSPASSPASSPASSPASS
setting custom command attribute to -foo bar (no dash) did not dispatch an eventPASSPASSPASSPASSPASS
setting command attribute to -foo bar (no dash) did not dispatch an event with an svg targetPASSPASSPASSPASSPASS
setting custom command property to —-emdash (no dash) did not dispatch an eventPASSPASSPASSPASSPASS
setting custom command attribute to —-emdash (no dash) did not dispatch an eventPASSPASSPASSPASSPASS
setting command attribute to —-emdash (no dash) did not dispatch an event with an svg targetPASSPASSPASSPASSPASS
setting custom command property to hidedocument (no dash) did not dispatch an eventPASSPASSPASSPASSPASS
setting custom command attribute to hidedocument (no dash) did not dispatch an eventPASSPASSPASSPASSPASS
setting command attribute to hidedocument (no dash) did not dispatch an event with an svg targetPASSPASSPASSPASSPASS
event does not dispatch if click:preventDefault is calledPASSPASSPASSPASSPASS
event does not dispatch on input[type=button]PASSPASSPASSPASSPASS
event does not dispatch if invoker is disabledPASSPASSPASSPASSPASS
event does NOT dispatch if button is form associated, with implicit typePASSPASSPASSPASSPASS
event does NOT dispatch if button is form associated, with explicit type=invalidPASSPASSPASSPASSPASS
event dispatches if button is form associated, with explicit type=buttonPASSFAILFAILFAILFAIL
event does NOT dispatch if button is form associated, with explicit type=submitPASSPASSPASSPASSPASS
event does NOT dispatch if button is form associated, with explicit type=resetPASSPASSPASSPASSPASS
event dispatches if invokee is non-HTML Element and command is customPASSPASSPASSPASSFAIL
setting command to show-modal did not dispatch an event for invalid elementPASSPASSPASSPASSPASS
setting command to show-modal did not dispatch an event for svg elementPASSPASSPASSPASSPASS
setting command to close did not dispatch an event for invalid elementPASSPASSPASSPASSPASS
setting command to close did not dispatch an event for svg elementPASSPASSPASSPASSPASS
setting command to request-close did not dispatch an event for invalid elementPASSPASSPASSPASSPASS
setting command to request-close did not dispatch an event for svg elementPASSPASSPASSPASSPASS
setting command to show-popover did dispatch an event for element without popover attributePASSPASSPASSPASSFAIL
setting command to show-popover did not dispatch an event for svg elementPASSPASSPASSPASSPASS
setting command to hide-popover did dispatch an event for element without popover attributePASSPASSPASSPASSFAIL
setting command to hide-popover did not dispatch an event for svg elementPASSPASSPASSPASSPASS
setting command to toggle-popover did dispatch an event for element without popover attributePASSPASSPASSPASSFAIL
setting command to toggle-popover did not dispatch an event for svg elementPASSPASSPASSPASSPASS