WPT
wpt / html / semantics / the-button-element / command-and-commandfor / interface.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 | 11/11 | 11/11 | 11/11 | 11/11 | 6/11 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| commandForElement reflects invokee HTML element | PASS | PASS | PASS | PASS | FAIL | — |
| commandForElement reflects set value | PASS | PASS | PASS | PASS | FAIL | — |
| commandForElement reflects set value across shadow root into light dom | PASS | PASS | PASS | PASS | FAIL | — |
| commandForElement does not reflect set value inside shadowroot | PASS | PASS | PASS | PASS | FAIL | — |
| commandForElement throws error on assignment of non Element | PASS | PASS | PASS | PASS | FAIL | — |
| command reflects '' when attribute empty, setAttribute version | PASS | PASS | PASS | PASS | PASS | — |
| command reflects correctly for invalid | PASS | PASS | PASS | PASS | PASS | — |
| command reflects '' when attribute empty, IDL version | PASS | PASS | PASS | PASS | PASS | — |
| command reflects correctly for invalid when array | PASS | PASS | PASS | PASS | PASS | — |
| command reflects '' when attribute set to [] | PASS | PASS | PASS | PASS | PASS | — |
| command reflects correctly for invalid when object | PASS | PASS | PASS | PASS | PASS | — |