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

RE: CSS Variables

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Mon, 7 Feb 2011 20:58:34 +0000
To: Tab Atkins Jr. <jackalmage@gmail.com>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <045A765940533D4CA4933A4A7E32597E2AB301AE@TK5EX14MBXC111.redmond.corp.microsoft.com>
> From: Tab Atkins Jr. [mailto:jackalmage@gmail.com]
> Sent: Monday, February 07, 2011 12:32 PM
> To: Sylvain Galineau
> Cc: www-style@w3.org
> Subject: Re: CSS Variables
> On Mon, Feb 7, 2011 at 12:19 PM, Sylvain Galineau <sylvaing@microsoft.com>
> wrote:
> >> From: www-style-request@w3.org [mailto:www-style-request@w3.org] On
> >> Behalf Of Tab Atkins Jr.
> >> Sent: Monday, February 07, 2011 10:32 AM
> >> To: Daniel Glazman
> >> Cc: www-style list
> >> Subject: Re: CSS Variables
> >
> >> I don't *think* either choice is particularly easier or harder to
> >> implement.  I preferred var() as well, but I got pretty overwhelming
> >> feedback from both implementors and authors that they preferred the
> >> brevity of just using a $ prefix.
> >
> > Care to elaborate on the volume and source of this feedback from
> > implementors and authors ? It's hard to understand what 'overwhelming'
> > means without any context. (Bonus points if they would send this
> feedback to the mailing list).
> Basically *every* other Chrome person internally preferred the $ prefix,
> including the one implementing the experimental support.  I'm the only one
> internally who preferred using var().

Oh, so by 'implementors' we're talking about individual developers working
for a single implementor. Then I guess I just need to poll more developers
than you ? :) Seriously, can you elaborate on why they all preferred it ?
If their preference is implementation-related it seems highly relevant. 

> Externally, two of the main SASS developers (Nathan Weizenbaum and Chris
> Eppstein) have told me they prefer the $ prefix (not surprising, since
> it's what SASS uses for vars).  

Right. That's certainly relevant but definitely not surprising either.

When I gave the talk a few weeks ago about
> these experiments, I had several attendees (who I don't know the names of,
> sorry) independently tell me they didn't like var(), and wanted the $
> prefix or something similar.

All relevant feedback but while it's concurrent I wouldn't qualify it of 
'overwhelming'. (Even though it would allow me to assert IE9 to be the 
best browser ever within the hour...) 

Received on Monday, 7 February 2011 20:59:29 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:43 UTC