W3C home > Mailing lists > Public > www-validator-cvs@w3.org > April 2016

[Bug 29564] New: Error on input with maxlength and uppercase type TEXT

From: <bugzilla@jessica.w3.org>
Date: Thu, 07 Apr 2016 16:56:03 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-29564-169@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29564

            Bug ID: 29564
           Summary: Error on input with maxlength and uppercase type TEXT
           Product: HTML Checker
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: General
          Assignee: mike+validator@w3.org
          Reporter: mvdleij@gmail.com
        QA Contact: www-validator-cvs@w3.org
  Target Milestone: ---

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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 7 April 2016 16:56:06 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 7 April 2016 16:56:06 UTC