W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > May 2011

[Bug 12781] New: Allow "maxlength" attribute for number fields

From: <bugzilla@jessica.w3.org>
Date: Wed, 25 May 2011 16:11:46 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-12781-2486@http.www.w3.org/Bugs/Public/>

           Summary: Allow "maxlength" attribute for number fields
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: jrn@jrn.me.uk
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,

Split from discussion on bug #9670 (
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9670 ):

The "maxlength" attribute is not allowed on number type input fields, as this
can be inferred from min, max & step attributes in browsers that understand
HTML 5. However, browsers that do not understand HTML 5 still need to know how
many characters can be returned to the server, and should use the "maxlength"
attribute for this.

Can I suggest that "maxlength" should be allowed, but ignored by HTML 5
compliant browsers?

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 25 May 2011 16:11:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:50 UTC