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

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

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Fri, 14 Dec 2012 15:30:07 +0100
Message-ID: <50CB37EF.7030808@kozea.fr>
To: "www-style@w3.org" <www-style@w3.org>
Le 14/12/2012 12:08, James Ross a écrit :
>> data:text/html,<style>body{background:green!ImPortant;background:red}
> IE 6 is red; IE 7-10 are green.

Thanks for testing.


Anther issue in §3.5.9:

> If the current declaration is one that can be made important, set the
> important flag of the current declaration to true, and switch to the
> declaration-end mode.

"can be made important" is not defined. My guess is that declarations 
are either for properties (in style rules, @page, keyframes, …) or for 
descriptors (@font-face, @counter-style, …) but only the former can be 
made important.

Maybe css3-syntax could use the property/descriptor terminology?

-- 
Simon Sapin
Received on Friday, 14 December 2012 14:30:35 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:03 GMT