W3C home > Mailing lists > Public > www-style@w3.org > May 2012

Re: [css-variables] status ?

From: Brian Kardell <bkardell@gmail.com>
Date: Fri, 25 May 2012 18:40:57 -0400
Message-ID: <CADC=+jfueLO_=JmDv6tt+-ofCKR8SFniqD7Tn4irNGFqCKNaUA@mail.gmail.com>
To: Peter Sorotokin <psorotok@adobe.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, "www-style@w3.org" <www-style@w3.org>, Daniel Glazman <daniel.glazman@disruptive-innovations.com>
The proposal on the table does not use var at all anymore, it uses $ on
both sides.  I have started a seperate thread on this if you want to
comment on this I suggest pulling it to there.
 On May 25, 2012 6:31 PM, "Peter Sorotokin" <psorotok@adobe.com> wrote:

> Perhaps, a na´ve question, but would not it be possible to do define
> syntax as var foo instead of var-foo?
>
> .container {
>    var foo: 20px;
> }
>
> I guess I just like sh better than perl ;-)
>
> I think var-foo is really ugly.
>
> Peter
>
> On 5/25/12 9:38 AM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote:
>
> >On Fri, May 25, 2012 at 9:31 AM, Tab Atkins Jr. <jackalmage@gmail.com>
> >wrote:
> >> Anyway, yeah, here's a summary of what changes I'd like to make:
> >
> >And of course, I forget one.
> >
> >6. (Optional, but desirable.)  Change the syntax for *defining* a
> >variable from "var-foo" to "$foo" as well.  This resolves the issue
> >that's been in the draft for a while where people want the definition
> >and use of a variable to use parallel syntax.  This one does require a
> >Core Grammar change, but it's compatible with our forward-compatible
> >error-handling.  (#1 might also want a grammar change so we end up
> >with a VAR token instead of a DELIM + IDENT pair that we then
> >interpret as a variable in the parser, but it's not necessary.)
> >
> >~TJ
> >
>
>
>
Received on Friday, 25 May 2012 22:41:27 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:54 GMT