← back to v135 · invoker-commands-the-command-and-commandfor-attributes
conformance · v135
v135 · invoker-commands-the-command-and-commandfor-attributes — conformance probe
6 assertions drawn from the spec. Each is a single contract the spec text makes. Pass/fail reflects what this browser executed; blocked means the contract was not run because it needs user mediation, hardware, or another unavailable precondition. Open the page in Chrome stable / canary / Firefox / Safari to compare.
0
pass
0
fail
0
blocked
6
total
| id | contract | kind | verdict | detail |
|---|---|---|---|---|
command-idl-on-button |
HTMLButtonElement.prototype.command reflects the command content attribute. spec ↗ | script | … | |
commandfor-idl-on-button |
HTMLButtonElement.prototype.commandForElement reflects commandfor as an Element. spec ↗ | script | … | |
command-event-constructor-exists |
CommandEvent is exposed on the global — the event dispatched at the invoker's target. spec ↗ | exists | … | |
command-event-has-command-property |
CommandEvent.prototype.command is exposed. spec ↗ | script | … | |
command-event-has-source-property |
CommandEvent.prototype.source returns the invoking element. spec ↗ | script | … | |
commandfor-roundtrips |
Setting commandForElement on a button assigns the target without requiring an id. spec ↗ | script | … |