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

Re: [css-variables] status ?

From: Peter Sorotokin <psorotok@adobe.com>
Date: Fri, 25 May 2012 15:28:27 -0700
To: "Tab Atkins Jr." <jackalmage@gmail.com>, Daniel Glazman <daniel.glazman@disruptive-innovations.com>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <CBE55464.23083%psorotok@adobe.com>
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.


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>
>> 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.)
Received on Friday, 25 May 2012 22:29:01 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:15 UTC