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>


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?


YesLogic Prince prints XML!
Received on Monday, 4 August 2003 05:11:31 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:08 UTC