W3C home > Mailing lists > Public > www-style@w3.org > April 2005

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

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 11 Apr 2005 17:20:47 +0000 (UTC)
To: Orion Adrian <orion.adrian@gmail.com>
Cc: www-style@w3.org
Message-ID: <Pine.LNX.4.61.0504111718550.172@dhalsim.dreamhost.com>

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 GMT

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