Sent by Adam Kuehn on 30 March 2006 17:05
David McFarland wrote:
>I was just looking over the CSS 2.1 specs and see that some
>properties that aren't inherited accept a value of 'inherit'
When the spec shows "Inherited: No" it simply means that the property
is not inherited by default. It does not mean that the property can
never be inherited. Granted, the spec language is unclear on this
precise point, but it is easily inferred from the fact that the
properties you point out, among others, explicitly take the "inherit"
keyword as a valid value.
>For example, the overflow property accepts 'inherit' as a valid
>value. What exactly can this property inherit from?
The spec defines this here:
<http://www.w3.org/TR/CSS21/cascade.html#value-def-inherit>. To
quote directly: "Each property may also have a specified value of
'inherit', which means that, for a given element, the property takes
the same computed value as the property for the element's parent."
HTH,
-Adam Kuehn
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/