W3C home > Mailing lists > Public > www-style@w3.org > August 2003

Re: "inherit"

From: Michael Day <mikeday@yeslogic.com>
Date: Mon, 4 Aug 2003 19:13:49 +1000 (EST)
To: Ian Hickson <ian@hixie.ch>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <Pine.LNX.4.44.0308041911210.5045-100000@lorien.yeslogic.com>


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 GMT

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