[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 09:57:49 PDT 2011


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





--- Comment #27 from Ryosuke Niwa <rniwa at webkit.org>  2011-09-24 09:57:48 PST ---
Upon further investigation, I found that:

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

However, it doesn't submit when we have:
Two text fields with one display:none submit button

Given that WebKit implicitly submits form even in the presence of a visible submit button or an invisible submit button (visibility: hidden, or display: none with exactly one text field), I don't see why we should avoid implicit submission only when there are multiple form controls and a display:none submit button.

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