[Webkit-unassigned] [Bug 236324] New: Clicking on an <input type="image"> will submit the form with null submitter
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 8 13:06:50 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=236324
Bug ID: 236324
Summary: Clicking on an <input type="image"> will submit the
form with null submitter
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Forms
Assignee: webkit-unassigned at lists.webkit.org
Reporter: andreu at andreubotella.com
CC: cdumez at apple.com, wenson_hsieh at apple.com
If you submit a form by clicking on an <input type="image"> control, the x and y position of the click will be in the form's entry list, but the submitter field in the submit event will be null.
Per the spec, this is not supposed to happen, since step 6 in the image input activation behavior (https://html.spec.whatwg.org/multipage/input.html#image-button-state-(type=image):input-activation-behavior) runs the form submission algorithm "from the element", i.e. with the <input type="image"> element as the submitter.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220208/e21db46d/attachment.htm>
More information about the webkit-unassigned
mailing list