WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 161644
149832
minlength
Add support for input[minlength], textarea[minlength], and ValidityState.tooShort
https://bugs.webkit.org/show_bug.cgi?id=149832
Summary
Add support for input[minlength], textarea[minlength], and ValidityState.tooS...
Chris Rebert
Reported
2015-10-05 22:04:24 PDT
i.e. Implement the `minlength` attribute Relevant specs: *
https://html.spec.whatwg.org/multipage/forms.html#attr-input-minlength
*
https://html.spec.whatwg.org/multipage/forms.html#attr-textarea-minlength
*
https://html.spec.whatwg.org/multipage/forms.html#dom-validitystate-tooshort
Attachments
Add attachment
proposed patch, testcase, etc.
Derek Moore
Comment 1
2016-05-23 14:15:13 PDT
Don't feel bad, Firefox is also sucking at implementing this:
https://bugzilla.mozilla.org/show_bug.cgi?id=932755
Chris Rebert
Comment 2
2016-05-23 14:19:25 PDT
For the record, Blink implements this:
http://caniuse.com/#feat=input-minlength
Derek Moore
Comment 3
2016-05-23 14:29:42 PDT
FWIW, you'll be way ahead of both Chrome/Blink & Mozilla/Firefox if you can make minlength & maxlength work together so as to form a character length range (as per spec)! See the "Name of Event" example here:
https://html.spec.whatwg.org/multipage/forms.html#attr-fe-minlength
Derek Moore
Comment 4
2016-05-23 15:05:36 PDT
(In reply to
comment #2
)
> For the record, Blink implements this: >
http://caniuse.com/#feat=input-minlength
Logged this bug with them for completeness:
https://bugs.chromium.org/p/chromium/issues/detail?id=614175
Chris Rebert
Comment 5
2016-08-19 09:07:46 PDT
Firefox has implemented this feature in version 51.
Kai
Comment 6
2016-09-28 12:02:38 PDT
Probably fixed by
https://bugs.webkit.org/show_bug.cgi?id=161644
? Not sure about ValidityState.tooShort, in the diff
https://bugs.webkit.org/attachment.cgi?id=288065&action=diff
it seems to be at least mentioned.
Chris Rebert
Comment 7
2016-09-29 00:22:33 PDT
*** This bug has been marked as a duplicate of
bug 161644
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug