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