W3C home > Mailing lists > Public > public-svg-wg@w3.org > April to June 2009

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

From: Cameron McCormack <cam@mcc.id.au>
Date: Sat, 18 Apr 2009 11:38:39 +1000
To: Chris Lilley <chris@w3.org>
Cc: public-svg-wg@w3.org
Message-ID: <20090418013839.GB11759@arc.mcc.id.au>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 April 2009 01:39:17 GMT