Click here to download the Blitz Browser!

WPT

wpt / html / semantics / forms / the-button-element / button-submit-children.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-62dd0 (wpt@b89af32bc, 2026-09-06) | Servo Servo 0.6 (wpt@b89af32bc, 2026-09-06) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)

View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi

ChromeFirefoxSafariLadybirdServoBlitz
Total2/22/22/22/22/2NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
This test will pass if a form navigation successfully occurs when clicking a child element of a <button type=submit> element with a onclick event handler which prevents the default form submission and manually calls form.submit() instead.PASSPASSPASSPASSPASS
clicking a submit button, which calls form.submit and has a parent calling e.prevenDefault() should still submit the formPASSPASSPASSPASSPASS