W3C home > Mailing lists > Public > www-style@w3.org > August 2008

Re: New CSS variables syntax in latest WebKit

From: David Hyatt <hyatt@apple.com>
Date: Fri, 22 Aug 2008 14:23:21 -0500
To: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Cc: "www-style@w3.org List" <www-style@w3.org>
Message-id: <8E5EC91D-80E4-443B-A8FE-C8C4C2BDC932@apple.com>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:11 GMT