[whatwg] HTMLForms: Implicit Submission with {display:none} button

On Sat, Sep 24, 2011 at 4:55 PM, Glenn Maynard <glenn at zewt.org> wrote:

> On Sat, Sep 24, 2011 at 12:47 PM, Ryosuke Niwa <rniwa at webkit.org> wrote:
>
>> However, it doesn't submit when we have:
>>
>>   - Two text fields with one display:none submit button
>>
> ...
>>
>
> Another outlier: Android's WebKit, at least in 2.3.5, seems to always allow
> user submit when editing a text input, via the "Go" button in the input
> method, regardless of any submit buttons or their state.
>
> IE9 does implicit submission in the following conditions:
>>   - Two text fields with one visible submit button
>>
>>
>> It does not do implicit submissio in the following conditions:
>>   - Two text fields with one visibility:hidden submit button
>>
>
> This makes the least sense of all to me.  visibility: hidden shouldn't have
> a side-effect like this.


Why? From user's perspective, not having submit button, having a submit
button with display: none, having a submit button with visibility: hidden
all look the same.

- Ryosuke

Received on Saturday, 24 September 2011 22:39:06 UTC