Re: CSS Variables

On Feb 7, 2011, at 10:31 AM, Tab Atkins Jr. wrote:

> On Sun, Feb 6, 2011 at 3:32 AM, Daniel Glazman
> <> wrote:
>> Le 06/02/11 01:34, Tab Atkins Jr. a écrit :
>>> theming webpages and webapps, both large and small.  I and some other
>>> Chrome engineers have put together a proposal for variables that is
>>> very similar in nature to what glazou proposed in
>>> <>  (the syntax is a
>>> bit different, but that's mostly a bikeshedding detail).
>> Hyatt and glazou, to be more precise.
> Ah, right.

In fact, Hyatt actually implemented CSS variables at one point, starting here:

And more commits here, including eventual disabling, due to lack of consensus in the CSS WG:

You may want to look at his original code and consider using it before implementing this from scratch.


Received on Saturday, 19 February 2011 07:00:56 UTC