SVG12: getRGBColorTrait vs non-SVGRGBColor

Dear Scalable Vector Graphics Working Group,
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.

Björn Höhrmann · ·
Weinh. Str. 22 · Telefon: +49(0)621/4309674 ·
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · 

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