Bug 303019

Summary: Add a composed submit event
Product: WebKit Reporter: Ben Nham <nham>
Component: WebCore JavaScriptAssignee: Ben Nham <nham>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Ben Nham
Reported 2025-11-22 21:00:10 PST
Some use cases want to be able to register a single top-level submit event listener that gets called back for form submissions whether or not they happen in a shadow tree. Add a composed `webkitsubmit` event for this use case. It behaves exactly the same as the submit event, but it is composed so it will propagate out of the shadow tree.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-11-22 21:00:27 PST
Ben Nham
Comment 2 2025-11-22 21:03:25 PST
EWS
Comment 3 2025-12-01 15:02:50 PST
Committed 303703@main (0fc7a94ca7d2): <https://commits.webkit.org/303703@main> Reviewed commits have been landed. Closing PR #54380 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.