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

[whatwg] [WF2] Make <button> default to type=button

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Sat, 14 Apr 2007 20:47:24 +1000
Message-ID: <4620B13C.2060407@lachy.id.au>
Simon Pieters wrote:
> For compatibility with IE, <button> should default to type=button 
> instead of type=submit.

<button> without type should default to button.
<button type="unknown"> should default to submit.

That way, we could still introduce new button types in the future and 
have them fall back to submit, while retaining compat with IE.

Lachlan Hunt
Received on Saturday, 14 April 2007 03:47:24 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:54 UTC