[whatwg] input[type="add"]?

Erik Arvidsson erik at eae.net
Thu Jun 10 14:50:55 PDT 2004


Would it not be better to limit the repetition buttons to <button> since 
that would be backwards compatible. In a non-conforming user agent 
inputs with unrecognized type attributes are usually treated as 
type="text" and would therefore be a lot harder to work with. For 
<button> one can easily add an onclick (DOMActivate) and do the logic 
using javascript but if <input> is allowed this will make it a lot harder.

What is the main reason for supporting both input and button?


More information about the whatwg mailing list