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

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 UTC