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.

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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:39 UTC