W3C home > Mailing lists > Public > www-svg@w3.org > May 2003

SVGPaint.colorType

From: Steve Schafer <steve@fenestra.com>
Date: Fri, 23 May 2003 14:48:32 -0400
To: www-svg@w3.org
Message-ID: <k8qscvcei1ailb2rs3la1fot2h16ljn6mj@4ax.com>

SVGPaint inherits the colorType attribute from SVGColor. However, if
SVGPaint.paintType is equal to any of SVG_PAINTTYPE_NONE,
SVG_PAINTTYPE_URI_NONE or SVG_PAINTTYPE_URI, there is no meaningful
corresponding value for SVGPaint.colorType. SVG_COLORTYPE_UNKNOWN could
be used, but doing so would require violating the "It is invalid to
attempt to define a new value of this type or to attempt to switch an
existing value to this type" requirement.

Perhaps there should be an SVG_COLORTYPE_OTHER or SVG_COLOR_TYPE_CUSTOM
to hande this situation.

Steve Schafer
Fenestra Technologies Corp
http://www.fenestra.com/
Received on Friday, 23 May 2003 14:48:43 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:25 GMT