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

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

From: Glenn Maynard <glenn@zewt.org>
Date: Tue, 3 Apr 2012 16:14:53 -0500
Message-ID: <CABirCh-pn-Pb61kqtscZOKXN3AxKPX=T_B0CkHaM5_mcgzgOKw@mail.gmail.com>
On Tue, Feb 21, 2012 at 7:36 PM, Boris Zbarsky <bzbarsky at mit.edu> wrote:

> 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.  :(

Ten years later it's still giving me headaches, when I try to do a trivial
two-input login form without a browser submit button, and find that every
obvious way of hiding the submit button breaks implicit submit in one
browser or another.  Do I really need to stick the submit button in an
overflow: hidden, 0x0 div?  I know I found a less ugly workaround for this
the last time I hit this...

Glenn Maynard
Received on Tuesday, 3 April 2012 14:14:53 UTC

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