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

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

From: Christoph Päper <christoph.paeper@crissov.de>
Date: Sun, 20 May 2012 16:21:14 +0200
Message-Id: <DE76D1F2-3D37-472B-A8E8-AAD664A34B3A@crissov.de>
To: www-style list <www-style@w3.org>
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 GMT

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