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

Re: [CSSWG] action 38, CSS Variables

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 08 Apr 2008 14:05:46 -0700
Message-ID: <47FBDE2A.7050304@inkedblade.net>
To: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
CC: "www-style@w3.org" <www-style@w3.org>

Daniel Glazman wrote:
> 
> Daniel had an action item from last CSS WG face-to-face meeting about
> writing a proposal for CSS variables, an oooooold request from the web
> authors' community, and get feedback from that community.
> 
> We're then very happy to submit today the following proposal and we hope
> the CSS WG will take it under its wings to make it become a standard
> implemented soon by all browsers. Feedback HIGHLY welcome.
> 
>   http://disruptive-innovations.com/zoo/cssvariables/

I would prefer calling the @rule "@define" rather than "@variable", as
in Petr Stanicek's proposal
   http://pixy.cz/pixynergia/2008/what-im-missing-in-css/

And if you're going to dereference it with functional notation rather
than a punctuation character, I would prefer "val()" or "value()" rather
than "var()".

I think the suggestion to use @define does a good job of avoiding the
whole issue of variables vs constants vs macros.

~fantasai
Received on Tuesday, 8 April 2008 21:06:28 GMT

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