Re: New CSS variables syntax in latest WebKit

On Aug 22, 2008, at 1:07 PM, Daniel Glazman wrote:

> David Hyatt wrote:
>
>> (1) -webkit-var(foo)
>> (2) =foo=
>> (3) $foo
>> One concern about using a symbol to represent a variable is that  
>> there is no way to vendor-prefix it.  Then again, just using a  
>> symbol like = or $ looks nicer than the ugly "-webkit-var" notation.
>
> It also looks terribly more dangerous because some server modules
> already use such syntax for macro expansion on the server's side...
> Honestly, I think 2 and 3 are not a good idea.

Just so people stop worrying, we won't be shipping CSS variables in  
Safari if the syntax is not hammered down.  I will disable the feature  
if no consensus has been reached regarding syntax.

dave
(hyatt@apple.com)

Received on Friday, 22 August 2008 19:24:02 UTC