Bug 172184 - Clicking a button to submit a disconnected form should not fire submit events
Summary: Clicking a button to submit a disconnected form should not fire submit events
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-16 13:57 PDT by Domenic Denicola
Modified: 2018-01-30 10:26 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Domenic Denicola 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.
Comment 2 Domenic Denicola 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.