W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2012

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

From: Dimitri Glazkov <dglazkov@chromium.org>
Date: Tue, 21 Feb 2012 19:47:55 -0800
Message-ID: <CADh5Ky2acxxw_CfaD7X0B9uYcvaHW_KrT7SbL98qsxWrnsYLSA@mail.gmail.com>
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:


>>> 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
Received on Tuesday, 21 February 2012 19:47:55 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:40 UTC