[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 22:55:22 PDT 2011


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





--- Comment #32 from Kaustubh Atrawalkar <kaustubh at motorola.com>  2011-09-24 22:55:22 PST ---
(In reply to comment #31)
> One correction. WebKit does not implicitly submit when there are two text fields without any submit buttons.
> 
> So WebKit matches IE quite well except:
> * Two text fields with one visibility:hidden submit button
> 
> Basically IE treats visibility: hidden like display: none for the purpose of determining whether a submit button is visible or not. This seems reasonable given a user won't be able to see a submit button with visibility: hidden.
> 
> Alternatively we can change our behavior and match Firefox (and possibily Opeara).
> 

Just to add more analysis
Opera - Does Implicit submission in following cases -
* 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
* Two text fields with one visibility:hidden submit button
* Two text fields with one display:none submit button

Only in following case it does not -
* Two text fields

> Given the market share of Trident and WebKit combined, I'm more inclined to prefer the former option.

http://www.w3schools.com/browsers/browsers_stats.asp
Considering Increasing share of Firefox (more than 40%) and decreasing share of IE (less than 25%) & also for Mobiles & Tablets there is Opera Mini which is increasing in use. IMHO we can match compliance with FF & Opera & also the specs which clearly allows to implicitly submit without respecting visibility/display of 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