[Webkit-unassigned] [Bug 64733] Forms with display:none on the submit button do not get submitted on enter

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 24 13:35:36 PDT 2011


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





--- Comment #29 from Ryosuke Niwa <rniwa at webkit.org>  2011-09-24 13:35:35 PST ---
(In reply to comment #28)
> I’m curious: Which of those behaviors are different from IE?

IE does implicit submission in the following conditions:
* One text field
* One text field with one visible submit button
* One text field with one display:none submit button
* Two text fields with one visible submit button

It does not do implicit submissio in the following conditions:

* Two text fields
* Two text fields with one visibility:hidden submit button
* Two text fields with one display:none submit button

Basically, IE only does implicit submission when there is exactly one text field (you can have checkbox, hidden, etc...) or there is a visible button (i.e. not diplay: none nor visibility: hidden).

I'd say IE's behavior is much saner.

-- 
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