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 29564 - Error on input with maxlength and uppercase type TEXT
Summary: Error on input with maxlength and uppercase type TEXT
Status: NEW
Alias: None
Product: HTML Checker
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Michael[tm] Smith
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-07 16:56 UTC by mvdleij
Modified: 2016-04-07 16:56 UTC (History)
0 users

See Also:


Attachments

Description mvdleij 2016-04-07 16:56:03 UTC
I get the error "Attribute maxlength is only allowed when the input type is email, password, search, tel, text, or url." for the following HTML:

<!DOCTYPE html>
<HTML>
<HEAD><TITLE>x</TITLE></HEAD>
<BODY>
<INPUT TYPE='TEXT' MAXLENGTH='250'>
</BODY></HTML>

Changing the HTML to use "TYPE='text'" (lowercase) makes the error go away, which would indicate that the uppercase "TEXT" is not recognized correctly.