Re: ISSUE-2262 (svgcolor-method-params): Inaccuracies in SVGColor method descriptions [SVG Full 1.1]

On Tuesday, April 14, 2009, 6:38:27 AM, SVG wrote:

SWGIT> ISSUE-2262 (svgcolor-method-params): Inaccuracies in SVGColor
SWGIT> method descriptions [SVG Full 1.1]

SWGIT> http://www.w3.org/Graphics/SVG/WG/track/issues/2262

SWGIT> Raised by: Cameron McCormack
SWGIT> On product: SVG Full 1.1

SWGIT> The descriptions of the methods on SVGColor do not state what
SWGIT> syntax the DOMString parameters must take.  There should be
SWGIT> links to the <color> definition, and there should be a new
SWGIT> definition for <icc-color> syntax.

Yes. I'm working on a grammar for that (prompted by Erik) for SVG Color; the same definition could be reused here.

SWGIT> Also, SVGColor::setColor() says that the parameters take an
SWGIT> "RGBColor object" and an "SVGICCColor" object, but I suspect
SWGIT> that should say that they are strings that represent an RGB or
SWGIT> SVG ICC color (as you would use in, say, the 'flood-color' property).

I agree.




-- 
 Chris Lilley                    mailto:chris@w3.org
 Technical Director, Interaction Domain
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG

Received on Thursday, 16 April 2009 13:00:51 UTC