- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Sun, 29 Jan 2006 20:30:18 +0100
- To: "Ola Andersson" <Ola.Andersson@ikivo.com>
- Cc: <www-svg@w3.org>, "SVG WG" <w3c-svg-wg@w3.org>
* Ola Andersson wrote: >Thanks for finding this. The intent is that an exception should be >raised if the attribute is not an rgb color. The spec has now been >changed to remove the inconsistency. This is now The getRGBColorTrait is used to get the SVGRGBColor color. If the actual trait value is not an SVGRGBColor, i.e. 'none' or a link to a paint server (e.g. to a gradient or a solid-color), this method must raise a DOMException with error code TYPE_MISMATCH_ERR and getTrait should be used instead. setTrait must be used to set a color type that is not an SVGRGBColor. It's not clear to me whether "system paint" keywords should be part of this list, could you clarify? -- Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
Received on Sunday, 29 January 2006 19:29:28 UTC