- From: <bugzilla@jessica.w3.org>
- Date: Thu, 06 Jan 2011 14:25:22 +0000
- To: public-html-bugzilla@w3.org
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