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

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 UTC