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
http://lachy.id.au/
Received on Saturday, 14 April 2007 03:47:24 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:34 UTC