Re: "inherit"

Hi,

Following on from the "initial" value discussion, is it ever legal to use 
the inherit or initial keywords in a shorthand or compound property? eg.

border: solid initial thin;	/* initial color */
font: 12pt inherit;		/* inherit font-family */

The CSS3 drafts would suggest not. If this is the case, would it be
prudent for all the properties that do not have a defined initial value
(color?) to be given a new keyword to refer to that ambiguous initial
value. Otherwise it is impossible to do some things, for example to set
the border color to the default initial color (without also setting the
text to that color).

border: solid initial-color thin;

Any thoughts?

Michael

-- 
YesLogic Prince prints XML!
http://yeslogic.com

Received on Monday, 4 August 2003 05:11:31 UTC