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

Re: [whatwg] Can the maximum allowed value length be changed to restrict the number of characters?

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 22 Aug 2013 12:40:21 -0400
Message-ID: <52163EF5.8050406@mit.edu>
To: whatwg@lists.whatwg.org
On 8/22/13 9:01 AM, Charles McCathie Nevile wrote:
>> The basic question is whether a validator should flag <input
>> maxlength="2" value="abc"> as a conformance error or not.  It seems to
>> me like it should.
>
> Why? It seems that it generally works in browsers, and has for a long time.

Sort of.  It gets you in a state where the user can erase the "c" but 
not retype it (though the erasing edit can be undone via the editor's 
"undo" functionality, apparently)....

-Boris
Received on Thursday, 22 August 2013 16:40:52 UTC

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