W3C home > Mailing lists > Public > www-validator-cvs@w3.org > January 2015

[Bug 27911] New: Case sensitivity of ID and Class names

From: <bugzilla@jessica.w3.org>
Date: Tue, 27 Jan 2015 22:40:44 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-27911-169@http.www.w3.org/Bugs/Public/>

            Bug ID: 27911
           Summary: Case sensitivity of ID and Class names
           Product: CSSValidator
           Version: CSS Validator
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSS 3
          Assignee: dave.null@w3.org
          Reporter: h_legg@yahoo.com
        QA Contact: www-validator-cvs@w3.org

4.1.3 Characters and case states:
"All CSS syntax is case-insensitive within the ASCII range (i.e., [a-z] and
[A-Z] are equivalent), except for parts that are not under the control of CSS.
For example, the case-sensitivity of values of the HTML attributes "id" and
"class", of font names, and of URIs lies outside the scope of this

Most browsers ignore it if you have used an id with capitals in the HTML but
lower case in the CSS, however Internet Explorer will ignore the selector.

It would be good if the validator returned at least a warning of a case

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 27 January 2015 22:40:45 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:03:25 UTC