[Webkit-unassigned] [Bug 9756] A form without a submit button unexpectedly performs its action when Return is pressed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 16 19:20:14 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=9756





--- Comment #10 from Dimitri Glazkov (Google) <dglazkov at chromium.org>  2010-04-16 19:20:13 PST ---
(In reply to comment #8)
> > I paraded on #whatwg for a bit with this question
> 
> Sorry, I didn't see that before posting my comment.
> 
> Anyway, I think that IE/Firefox/Opera are logical and consistent here. Pressing
> Enter activates the default button, so if there is no default button, then
> nothing is activated.

I would argue that their behavior is the least consistent one. It works like
this:

When user presses enter in a text field with no submit button:
* If this is the only text field in a form, submit the form
* Otherwise, do not submit.

Whereas WebKit just always submits, like the spec prescribes.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list