W3C home > Mailing lists > Public > public-html@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@w3.org
Message-ID: <bug-12781-2495@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12781

           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,
                    public-html@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 on the CC list for the bug.
Received on Wednesday, 25 May 2011 16:11:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:32 GMT