Re: Vendor-prefixes: an idea

Currently [1], only !important is defined in the css tokenizer. It's like an 
exception. It means we have full potential of introducing something new 
about that in future iterations of the spec. We could define a DVM token as 
'!{ident}-wd' {return DVM_SYM;}         and explain it is ignored if at 
least one the DVM token is supported by the browser, and makes the 
declaration invalid otherwhise.



Since !something is unrecognized in current UAs, there'll be no 
compatibility issue. Only IE6 has a bug which lead !something to mean 
!important. However, IE6 is unlikely to understand any new property 
introduced right now, so this is a non-issue.



[1] [[ "!{w}important"        {return IMPORTANT_SYM;} ]] in 
http://www.w3.org/TR/css3-syntax/



-----Message d'origine----- 
From: Boris Zbarsky
Sent: Wednesday, May 02, 2012 5:00 PM
To: www-style@w3.org
Subject: Re: Vendor-prefixes: an idea

On 5/2/12 10:51 AM, François REMY wrote:
> But, even then, there are major wins compared to current situation since :
> (1) you can specify more than one compatible draft in your declaration,
> instead of having one declaration per draft.

Can you?  Unrecognized !something modifiers cause declarations to be
dropped in UAs.  I guess that could be changed...

-Boris 

Received on Wednesday, 2 May 2012 15:17:07 UTC