W3C home > Mailing lists > Public > public-webapi@w3.org > June 2008

[web forms 2]Behavior of maxlength on scripted value changes

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 05 Jun 2008 15:12:22 -0500
Message-ID: <484848A6.2000409@mit.edu>
To: "Web APIs WG (public)" <public-webapi@w3.org>

The section on maxlength in http://www.whatwg.org/specs/web-forms/current-work/ 
(the 12 October 2006 version) says nothing about what happens if script on the 
page (or script from a bookmarklet, whatever) does:

   myInput.value = "some long string";

where the string length is longer than myInput.maxlength.

This should probably be specified.

See also https://bugzilla.mozilla.org/show_bug.cgi?id=345267

Received on Thursday, 5 June 2008 20:13:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:27 UTC