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

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