This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 11227 - not supported on input type=number? or should implementors restrict # of digits based on max value?
Summary: not supported on input type=number? or should implementors restrict # of digi...
Status: RESOLVED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML5 spec (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-04 23:01 UTC by contributor
Modified: 2011-08-04 05:01 UTC (History)
6 users (show)

See Also:


Attachments

Description contributor 2010-11-04 23:01:20 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html
Section: http://www.whatwg.org/specs/web-apps/current-work/#the-maxlength-attribute

Comment:
not supported on input type=number? or should implementors restrict # of
digits based on max value?

Posted from: 71.42.73.150
Comment 1 Aryeh Gregor 2010-11-05 00:12:29 UTC
Yes, maxlength is not supported on number inputs.  Length doesn't make sense for number inputs, max and min are the logical equivalent.  Implementers can choose to not allow input of anything that falls outside the min and max, if they like (UI is undefined in HTML).
Comment 2 Ian 'Hixie' Hickson 2010-12-29 08:22:54 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: see comment 1.
Comment 3 Michael[tm] Smith 2011-08-04 05:01:35 UTC
mass-moved component to LC1