Bug 61093
Summary: | REGRESSION: maxlength attribute not respected for number inputs | ||
---|---|---|---|
Product: | WebKit | Reporter: | Scott Kyle <scottwkyle> |
Component: | Forms | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | ap, tkent |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac | ||
OS: | OS X 10.6 |
Scott Kyle
<input type="number" maxlength="4">
You can enter as many numbers as you want in that input.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Kent Tamura
Please look at http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#input-type-attr-summary
The number type doesn't support maxlength attribute.