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

Dimitri Glazkov dglazkov at chromium.org
Tue Feb 21 19:47:55 PST 2012


On Tue, Feb 21, 2012 at 5:36 PM, Boris Zbarsky <bzbarsky at mit.edu> wrote:
> On 2/21/12 7:35 PM, Ian Hickson wrote:
>>
>> On Sun, 25 Sep 2011, Boris Zbarsky wrote:
>>>
>>>
>>> Not doing that last is actually a requirement for web compat, last I
>>> looked at this.
>>
>>
>> Do you have any links to pages that break if a form with more than one
>> text field supports implicit submission?
>
>
> Not offhand.  Again, it's been a while since I looked into this, but at the
> time this was being implemented in Gecko we carefully made the
> two-input-no-submit case not submit.  I thought that was for good reason,
> but reskimming the bugs now I can't find the reason.  It's been over 10
> years, so the details are a bit hazy in my mind.  :(

I made WebKit match this behavior a couple of years ago:
https://bugs.webkit.org/show_bug.cgi?id=9756

:DG<

>
>
>>> For those who want to mess with the spec for this behavior,
>>> https://bugzilla.mozilla.org/show_bug.cgi?id=99920 and
>>> https://bugzilla.mozilla.org/show_bug.cgi?id=109463 and
>>> https://bugzilla.mozilla.org/show_bug.cgi?id=147850 are necessary (but
>>> probably not sufficient) reading.
>>
>>
>> I read those bugs, but can't see the reason why submitting a form with two
>> text fields and no buttons would break the Web. Can you elaborate?
>
>
> https://bugzilla.mozilla.org/show_bug.cgi?id=22526 is the other bug that
> needs reading, but it doesn't help either.  I didn't look at the various
> (and somewhat numerous) duplicates of the various bugs involved...
>
> I suppose we could try submitting the "more than one text input, no submit
> button" case and see what happens...
>
> -Boris



More information about the whatwg mailing list