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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27911

            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
specification."

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
mismatch.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 27 January 2015 22:40:45 UTC