W3C home > Mailing lists > Public > www-style@w3.org > May 2012

Re: [css-variables] Maintain link between var declaration and use

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 21 May 2012 00:00:27 -0700
Message-ID: <CAAWBYDBwoOZ4ccS2H8jv1bQSPBhm5ERqChE6U=pV3QTC10GpnA@mail.gmail.com>
To: Christoph Päper <christoph.paeper@crissov.de>
Cc: www-style list <www-style@w3.org>
On Sun, May 20, 2012 at 7:21 AM, Christoph Päper
<christoph.paeper@crissov.de> wrote:
> Tab Atkins Jr. (2012-04-30):
>> On Mon, Apr 30, 2012 at 10:26 AM, Simon Sapin <simon.sapin@kozea.fr> wrote:
>>> Le 30/04/2012 19:19, Tab Atkins Jr. a écrit :
>>>> "var(foo): blue;".
>>>
>>> it would be a change in the core grammar for properties, right?
>>
>> Yup, it would.
>
>  var_foo-bar: blue;
>  color: var(foo-bar);
>
> would be fine, though. (As far as I can tell, out of ASCII characters only hyphen-minus and underscore, besides letters, are available in property names, so this is the only grammar-compatible notation that doesn’t use dashes.)

That gains us nothing, though.  I see no good reason to switch away
from dashes unless we're going full-on to something that looks like a
function.

~TJ
Received on Monday, 21 May 2012 07:01:16 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:54 GMT