[Bug 11347] Submitting a partially downloaded form

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11347

--- Comment #9 from Mounir Lamouri <mounir.lamouri@gmail.com> 2011-01-06 14:25:21 UTC ---
The specs do mention one case: if you hit enter on a text control and there is
a submit control in the form. In that case, it's not a requirement, the form
can be submittable as if the user clicked on the submit control.
AFAIK, the specs don't mention the case where there is no submit control in the
form. However, all major browsers have the same behavior: the form is submitted
if you press enter in a text field even if there is no submit control.

You can try this:
data:text/html,<form onsubmit="alert('submit!');"><input>

Opera, Chrome, Safari, Firefox and IE (only tested with IE6) have the exact
same behavior: the form is submitted.

I would bet that some forms would be broken if we change that. I'm thinking of
search fields for example.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 6 January 2011 14:25:25 UTC