Re: "inherit"

On Mon, 28 Jul 2003, Michael Day wrote:
>
> Why has the "initial" value been added to CSS3? It does not seem to offer
> additional functionality in the way that "inherit" does. For example:
>
>     font-size: initial
>
> can always be replaced by the equivalent rule:
>
>     font-size: medium
>
> and so on for all other properties. What is the "default" value? And how
> does it differ from "initial"?

What's the initial value of 'color'?

In practice, even with properties where it is well defined, UA developers
have found it useful to have a value that represents the initial value
independent of what that value actually is.

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'

Received on Monday, 28 July 2003 06:50:46 UTC