Click here to download the Blitz Browser!

WPT

wpt / html / semantics / the-button-element / command-and-commandfor / toggleevent-source-attribute-retargeting.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
Total3/32/32/32/30/3NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
ToggleEvent.source should be retargeted during and after event dispatch.PASSPASSPASSPASSFAIL
Toggle.source should be retargeted when manually dispatched with composed set to true.PASSFAILFAILFAILFAIL
ToggleEvent.source should not be set to null after dispatch without ShadowDOM.PASSPASSPASSPASSFAIL