Bug 51459 - Pressing Enter doesn't submit a form with more than one text input but no submit button
Summary: Pressing Enter doesn't submit a form with more than one text input but no sub...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.6
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-22 04:24 PST by Pascal
Modified: 2010-12-22 10:38 PST (History)
2 users (show)

See Also:


Attachments
onsubmit demonstration (219 bytes, text/html)
2010-12-22 04:24 PST, Pascal
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal 2010-12-22 04:24:06 PST
Created attachment 77202 [details]
onsubmit demonstration

The 'onsubmit' handler is not being called if there is more than one <input type="text" /> element present in a form. See the attached demo.
Comment 1 Alexey Proskuryakov 2010-12-22 10:23:10 PST
I believe that this is expected behavior, chosen to match other browsers. Could you please elaborate on why this is a bug?
Comment 2 Pascal 2010-12-22 10:38:03 PST
(In reply to comment #1)
> I believe that this is expected behavior, chosen to match other browsers. Could you please elaborate on why this is a bug?

I found this to be an odd behavior, but after searching the web a little it seems you are right indeed. No mention on how this should be implemented on w3.org, looks like this indeed is no bug. Sorry for that!