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

Lachlan Hunt lachlan.hunt at lachy.id.au
Sat Apr 14 03:47:24 PDT 2007


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/



More information about the whatwg mailing list