W3C home > Mailing lists > Public > www-style@w3.org > July 2008

Re: Proposal for adding variable declaration blocks

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 1 Jul 2008 16:39:42 -0500
Message-ID: <dd0fbad0807011439p73bcbfcv1c5d04a58af50389@mail.gmail.com>
To: "Zachary Weinberg" <zweinberg@mozilla.com>
Cc: "David Hyatt" <hyatt@apple.com>, "www-style@w3.org list" <www-style@w3.org>
On Tue, Jul 1, 2008 at 4:13 PM, Zachary Weinberg <zweinberg@mozilla.com>
wrote:

>
> ----- "David Hyatt" <hyatt@apple.com> wrote:
> > Here are a couple of ideas for how to extend CSS variables to deal
> > with declarations.
> ...
> > (b) Make up a selector "annotation" notation
> >
> > h1 includes headers {
> >    font-size: 24px;
> > }
> ...
> > I believe (b) is the most elegant notation.
>
> I'm going to have to vote for anything-but-this, because selector syntax is
> already enough of a mess.  The above is exactly how you would write the
> selector for
>
> <h1><includes><headers> ... </></></>
>
> in some hypothetical SGML dialect; yes, we could probably think of a
> keyword unlikely to appear in any such dialect, but I'd really rather have
> unambiguity.
>
> Of your options I think (a) best (make up a new property).
>
> zw


I'm with Zachary in voting for anything-but-b, for the exact same reasons.

Coincidentally, I'm also with Zach in preferring (a) best.

~TJ
Received on Tuesday, 1 July 2008 21:40:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:10 GMT