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

Re: CSS Variables Draft Proposal

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 11 Feb 2011 09:29:15 -0800
Message-ID: <AANLkTimkXhuMb2x5TAfnk=wnsx65Z4O047qoX-Z_pd0w@mail.gmail.com>
To: Colt Antonio Pini <Colt.Pini@nau.edu>
Cc: Alan Gresley <alan@css-class.com>, "Linss, Peter" <peter.linss@hp.com>, Alex Robinson <css-discuss@alex.fu2k.org>, "L. David Baron" <dbaron@dbaron.org>, www-style list <www-style@w3.org>, Daniel Glazman <daniel.glazman@disruptive-innovations.com>
On Fri, Feb 11, 2011 at 8:55 AM, Colt Antonio Pini <Colt.Pini@nau.edu> wrote:
> I may be piping in at the wrong time, or I might be the wrong person to do so. But I just wanted to ask...
> What would be wrong with:
> @var $foo 'the value';
> Or
> @var $foo "the value";
> ?
> It seems that may help decide with problems such as @var $foo '/* the value */';

Requiring quotes for ordinary CSS values seems inelegant.  Plus,
strings are a valid type, and having to double up on quotes is ugly:

@var $foo "'a font name'";

Received on Friday, 11 February 2011 17:30:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:56 UTC