[webkit-changes] [WebKit/WebKit] ad3421: Hidden buttons can't be used as the submitter in a...
Ryosuke Niwa
noreply at github.com
Thu Nov 17 17:32:27 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ad3421ff11860bb575db3e52f74c4edb128a9169
https://github.com/WebKit/WebKit/commit/ad3421ff11860bb575db3e52f74c4edb128a9169
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2022-11-17 (Thu, 17 Nov 2022)
Changed paths:
A LayoutTests/fast/forms/submit-form-with-hidden-button-expected.txt
A LayoutTests/fast/forms/submit-form-with-hidden-button.html
M Source/WebCore/html/HTMLFormElement.cpp
Log Message:
-----------
Hidden buttons can't be used as the submitter in an implicit submission
https://bugs.webkit.org/show_bug.cgi?id=247545
Reviewed by Chris Dumez.
Removed the check for renderer to match the behaviors of other browsers and HTML5 spec:
https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#implicit-submission
* LayoutTests/fast/forms/submit-form-with-hidden-button-expected.txt: Added.
* LayoutTests/fast/forms/submit-form-with-hidden-button.html: Added.
* Source/WebCore/html/HTMLFormElement.cpp:
(WebCore::HTMLFormElement::submitImplicitly):
Canonical link: https://commits.webkit.org/256813@main
More information about the webkit-changes
mailing list