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

> > 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 UTC