Bug 287288

Summary: command and commandfor attributes don't prevent missing type buttons from submitting forms
Product: WebKit Reporter: Luke Warlow <lwarlow>
Component: DOMAssignee: Luke Warlow <lwarlow>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://github.com/web-platform-tests/wpt/pull/50583
Bug Depends on:    
Bug Blocks: 262840    

Luke Warlow
Reported 2025-02-07 13:47:55 PST
`<button command="">` or `<button commandfor="">` shouldn't submit forms but they do in WebKit. This patch tracks correcting that, and also implementing the updated type reflection behaviour.
Attachments
Luke Warlow
Comment 1 2025-02-07 13:56:34 PST
Radar WebKit Bug Importer
Comment 2 2025-02-14 13:48:33 PST
EWS
Comment 3 2025-03-12 05:23:43 PDT
Committed 292010@main (b4d27c3a21da): <https://commits.webkit.org/292010@main> Reviewed commits have been landed. Closing PR #40245 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.