W3C home > Mailing lists > Public > www-svg@w3.org > September 2000

Re: createRGBColor() problem.

From: Jon Ferraiolo <jferraio@Adobe.COM>
Date: Tue, 05 Sep 2000 08:41:16 -0700
Message-Id: <>
To: bbrodie@savagesoftware.com (Blaine Brodie)
Cc: www-svg@w3.org
Thanks for the report. I'll bring this up for discussion in the SVG working 

Jon Ferraiolo
SVG Editor
Adobe Systems Incorporated

At 03:00 PM 9/1/00 -0700, Blaine Brodie wrote:
>I was examing the 'createRGBColor' factory method that exists in the
>SVGColor and SVGSVGElement interfaces and I noticed a technicallity that
>may require a few changes to SVGColor, in order to correct.  Since the
>RGBColor interface contains three CSSPrimitiveValues (red, green and
>blue).  This factory method is an implicity factory method for
>CSSPrimitiveValue objects, however CSSPrimitiveValues can only occur in
>the context of a CSS Property. The simplest fix that I can think of is to
>remove the factory method from the two interfaces and modify the
>'setRGBColor' method to take in a DOMString  and change the
>'setRGBColorICCColor' method to either take in a DOMString and a
>SVGICCColor or take in 2 DOMStrings.
Received on Tuesday, 5 September 2000 11:42:00 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:49 UTC