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

Re: [css-variables] Different syntax for variable definition and use

From: Jens O. Meiert <jens@meiert.com>
Date: Sat, 16 Feb 2013 21:24:52 -0800
Message-ID: <CAJ0g8QQ3SRn2XtAqcc7DRW2h-JECyCM=8VB-hXHo4KwsJgAA2Q@mail.gmail.com>
To: www-style@w3.org
It seems CSS variables remain based on var-foo/var(foo). I stick to my
argument that this is counter-intuitive.

I don’t intend to argue against the current syntax forever, but I
still like to ask, did we explore other syntactical options, like e.g.
the following?

foo { [var]: 20 }
bar { line-height: [var]px }

Generally, could someone—no offense, but maybe not Tab :)—explain why
we are left with what we have now? I find it hard to believe that we
have no options that are more usable, i.e. user-friendly.



Jens O. Meiert
Received on Sunday, 17 February 2013 05:25:42 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:26 UTC