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

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

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

OK great.  Please let me know when you’ve written the grammar, and then
I’ll incorporate it into the 1.1 2ed spec.

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

OK, I’ve tweaked the three method descriptions on SVGColor:

  http://dev.w3.org/SVG/profiles/1.1F2/publish/types.html#__svg__SVGColor__setRGBColor

-- 
Cameron McCormack ≝ http://mcc.id.au/

Received on Saturday, 18 April 2009 01:39:16 UTC