Re: SVG12: getRGBColorTrait vs non-SVGRGBColor

Bjoern Hoehrmann wrote:

>* Ola Andersson wrote:
>  
>
>>Thanks for finding this. The intent is that an exception should be
>>raised if the attribute is not an rgb color. The spec has now been
>>changed to remove the inconsistency.
>>    
>>
>
>This is now
>
>  The getRGBColorTrait is used to get the SVGRGBColor color. If the
>  actual trait value is not an SVGRGBColor, i.e. 'none' or a link to a
>  paint server (e.g. to a gradient or a solid-color), this method must
>  raise a DOMException with error code TYPE_MISMATCH_ERR and getTrait
>  should be used instead. setTrait must be used to set a color type that
>  is not an SVGRGBColor.
>
>It's not clear to me whether "system paint" keywords should be part of
>this list, could you clarify?
>  
>
We have changed the wording

"actual trait value is not an SVGRGBColor, i.e. 'none' or a link to a 
paint server (e.g. to a gradient or a solid-color), this method must..."
to

"actual trait value is not an SVGRGBColor, i.e. 'none' or a paint server 
(e.g. a gradient, system paint, or solid-color), this method must..."

Please let us know shortly if that does not address your concern.

Andrew.

Received on Thursday, 9 March 2006 06:00:05 UTC