SVG12: getRGBColorTrait vs non-SVGRGBColor

Dear Scalable Vector Graphics Working Group,

  http://www.w3.org/TR/2005/WD-SVGMobile12-20050413/svgudom.html
appendix A.7.12 states getRGBColorTrait 

  Returns the trait value as SVGRGBColor. The returned object
  is a copy of the trait value and will not change if the
  corresponding trait changes. If the actual trait value is not
  an RGBColor (i.e. "none"), this method will return null.

and that it raises "DOMException with error code TYPE_MISMATCH_ERR if
requested trait's computed value cannot be converted to SVGRGBColor".
This is obviously inconsistent, please change the draft such that this
inconsistency is removed.

Note that it is incorrect to state that "none" is the only value for
which it might not be possible to convert the color to RGBColor, e.g.
system color keywords might represent gradient fills.

regards,
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Monday, 4 July 2005 02:25:57 UTC