WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
172184
Clicking a button to submit a disconnected form should not fire submit events
https://bugs.webkit.org/show_bug.cgi?id=172184
Summary
Clicking a button to submit a disconnected form should not fire submit events
Domenic Denicola
Reported
2017-05-16 13:57:22 PDT
See test at
http://w3c-test.org/html/semantics/forms/the-button-element/button-click-submits.html
and spec at
https://html.spec.whatwg.org/#form-submission-algorithm
Attachments
Add attachment
proposed patch, testcase, etc.
Domenic Denicola
Comment 1
2017-05-25 08:14:57 PDT
After further discussion, I think I filed this bug prematurely. We are still in discussion as to whether form should have a connected check in
https://github.com/whatwg/html/issues/2615
, because we want to consistify it with a/area, and Chrome is unsure yet if they're willing to do that, pending use-counter data. So it's probably best to hold off on changes; there's a chance (although hopefully small) that it will end up being wasted effort. I will ping this bug again when it is “safe” to change (i.e. definitely own’t be wasted effort). Apologies about this.
Domenic Denicola
Comment 2
2018-01-30 10:26:10 PST
We've figured out the spec story here. There are two connected checks, one in step 1 and one in step 6.3. Additional tests are available at
http://w3c-test.org/html/semantics/forms/form-submission-0/submission-checks.window.html
; Safari TP 43 at least doesn't seem to have either check implemented.
Anne van Kesteren
Comment 3
2024-08-28 07:37:01 PDT
These appear to be implemented today. There's one remaining button element issue in the first test that we share with Chrome and I'm pretty sure is tracked separately.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug