W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2013

Re: [whatwg] Maxlength attribute on input[type=number]

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Fri, 28 Jun 2013 01:19:10 +0300
Message-ID: <51CCBA5E.8080706@cs.tut.fi>
To: whatwg@lists.whatwg.org
2013-06-28 1:09, Scott González wrote:

> Why would you want to set maxlength as opposed to setting max?

People want to do such things to cover old browsers that do not support 
type=number. Such browsers ignore both the type attribute and the max 
attribute, so to impose *some* limits, people would use maxlength.

Received on Thursday, 27 June 2013 22:19:36 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:22 UTC