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

Re: New CSS variables syntax in latest WebKit

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Fri, 22 Aug 2008 20:07:00 +0200
Message-ID: <48AF0044.7050008@disruptive-innovations.com>
To: David Hyatt <hyatt@apple.com>
Cc: "www-style@w3.org List" <www-style@w3.org>

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.

</Daniel>
Received on Friday, 22 August 2008 18:07:37 GMT

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