W3C home > Mailing lists > Public > www-svg@w3.org > April 2004

Re: Default value vs. inherited value

From: Cyril Concolato <cyril.concolato@enst.fr>
Date: Mon, 26 Apr 2004 18:04:49 +0200
Message-ID: <408D3321.8010500@enst.fr>
To: Antoine Quint <ml@graougraou.com>
Cc: www-svg@w3.org

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 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:27 GMT