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

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 UTC