W3C home > Mailing lists > Public > www-style@w3.org > December 2012

[css3-syntax] !important is ASCII case-insensitive

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Fri, 14 Dec 2012 11:46:57 +0100
Message-ID: <50CB03A1.7070405@kozea.fr>
To: "www-style@w3.org" <www-style@w3.org>

Section 4.1.3 of CSS 2.1 says:

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

My understanding is that this applies to !important. This is indeed the 
case in Firefox, Chromium and Opera. (I don’t have IE to test.)
Test case:


Therefore, when css3-syntax section 3.5.9 says

> ident token with a value of "important"

It should say: ident token whose value is an ASCII case-insensitive 
match for "important".

I hope not to get into the debate of what kind case-insensitivity, but 
this (with an upper-case dotted i) is red in the same three implementations:


Simon Sapin
Received on Friday, 14 December 2012 10:47:26 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:06 UTC