Re: Default value vs. inherited value

Hi,

Antoine Quint wrote:

> On 26 avr. 04, at 16:22, Cyril Concolato wrote:
>
>> This may be a stupid question but where in the spec is it said that 
>> when an attribute is not present, its value should be inherited 
>> instead of using its default value.
>
> http://www.w3.org/TR/SVG11/painting.html#SpecifyingPaint
>
> "black" is the "initial" value if there is nothing else inherited. 
> Otherwise, it is the inherited value.

This sentence helps a lot. I think it should be in the spec. My 
understanding of the spec as it is was, wrongly, that the initial value 
was the default value, that is the value if no attribute was specified.
Regards,
Cyril

-- 
Ecole Nationale Supérieure des Télécommunications, Paris
Dept. Comelec
46, rue Barrault 75013 Paris
Tel: +33145817991    Fax: +33145804036

Received on Monday, 26 April 2004 12:06:42 UTC