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

Re: [css3] Suggestion: Selector variables or “synonyms”

From: Jens Meiert <jens.meiert@erde3.com>
Date: Sun, 10 Feb 2008 20:10:58 +0100
Cc: www-style@w3.org
Message-ID: <20080210191058.58230@gmx.net>
To: David Woolley <forums@david-woolley.me.uk>

> > Apparently, Carmelo Capinpin already suggested the concept in 2006
> > [1] (with few success, unfortunately [2]), but I may propose to
> > consider something like “selector variables” in CSS 3 again in order
> > to help both maintainability and style sheet efficiency.
> > 
> > The basic idea is to syntactically allow definitions like
> > 
> >   E = F;
>
> Could you explain how this would interact with the cascade, in
> particular:
> 
> - how does it interact with !important rules;
> - what is the scope of the effect.

That's certainly a definition thing; I'd like to write a kind of draft for these selector variables unless there are any “objections”. (And even though this might take a few days.)

-- 
Jens Meiert
http://meiert.com/en/
Received on Sunday, 10 February 2008 19:11:39 GMT

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