Re: Targeting CSS3 only (evil?), either with pseudoclass or an extra syntax for properties.

On Mon, 11 Apr 2005, Orion Adrian wrote:
> > 
> > Another example:
> > 
> >    input { background: white; color: black; }
> >    input:invalid { color: red; }
> >    input:disabled { background: silver; }
> > 
> > You don't want to have to expand that to multiple rules, it would just 
> > become awkard (especially as the number of variants grew).
> 
> As opposed to 
> 
> input { color(white, black); }
> input:invalid{ color(red,); }
> input:disabled{ color(,grey); }

I don't really see the advantage. You still have to cascade everything 
separately; what is the different syntax doing that's better?


> Here it doesn't seem to change that much, but there are instances of
> other types of properties that wouldn't gain more from this.

Do you have any examples?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Monday, 11 April 2005 17:20:50 UTC