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

Hello,

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?

erik

Received on Thursday, 10 June 2004 14:50:55 UTC