Re: CSS Variables

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