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

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.)

Received on Sunday, 20 May 2012 15:02:18 UTC