Re: [css-variables] Should var properties respect !important?

Le 05/04/2012 04:07, Tab Atkins Jr. a écrit :
> An
> !important anywhere else in the var property is a syntax error.

Is it an error for the var property (the data-foo declaration is 
ignored) or where it is expanded? (var() resolves to an invalid variable)

To be clear, !important is, after removing comment tokens, any sequence 
of DELIM S* IDENT tokens where the first token is '!' and the last, 
after being unescaped and lower-cased, is 'important'. Is this correct?

-- 
Simon Sapin

Received on Thursday, 5 April 2012 06:56:17 UTC