W3C home > Mailing lists > Public > www-style@w3.org > February 2011

Re: CSS Variables

From: Jens O. Meiert <jens@meiert.com>
Date: Mon, 7 Feb 2011 10:09:57 -0800
Message-ID: <AANLkTimhat8Tu9ve3dJND+Tw+PMoCyep=F+dLFYw14s6@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: www-style@w3.org
> > A few weeks ago I gave a talk about some experimental things some
> > of our teams at Chrome are working on.  (You can see the subsequent
> > blogpost at <http://www.xanthir.com/blog/b49w0>.)  I obviously want
> > to bring all of them to the group soon, but I want to start on Variables,
> >
> > So, thoughts?

I believe Bert summarized the situation pretty well in
<http://www.w3.org/People/Bos/CSS-variables>.

TL;DR comments but

> > This sucks for authors, particularly as the rise of preprocessing
> > frameworks
>
> The fact that this can be done by pre-processors is actually a
> counter-argument to including it in CSS.

I agree.

In addition, some challenges authors try to find an answer for in
variables/constants can be addressed by simple things like
declaration-based sorting already:
<http://meiert.com/en/blog/20090401/why-css-needs-no-variables/>.

-- 
Jens O. Meiert
http://meiert.com/en/
Received on Monday, 7 February 2011 18:10:50 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:56 UTC