﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
20630	HTML5 validation broken by maxlength attributes in number inputs	Michael Angeletti	nobody	"The commit for #19686 adds {{{maxlength}}} to number inputs with max digits (https://code.djangoproject.com/attachment/ticket/19686/ticket-19686-claudep-github-revised.diff#L85)

Paste the following into http://validator.w3.org/#validate_by_input and submit:

{{{
<!DOCTYPE html>

<html>
    <head>
        <meta charset=""UTF-8"">
    </head>
    <body>
        <div>
            <input type=""number"" maxlength=""5"">
        </div>
    </body>
</html>
}}}

One of the messages you'll notice is: {{{maxlength when type is text, search, url, tel, e-mail, or password}}}.

So, it appears that HTML5 doesn't allow a {{{maxlength}}} attribute for number inputs."	Bug	closed	Forms	dev	Normal	fixed	html5		Ready for checkin	1	0	0	0	0	0
