On Fri, 05 Sep 2008 19:15:31 +0200, Frank Bruder <[EMAIL PROTECTED]> wrote:
> --- In [email protected], Erik Dahlström <[EMAIL PROTECTED]> > wrote: >> >> On Thu, 04 Sep 2008 13:20:06 +0200, markdyson.13441 <[EMAIL PROTECTED]> >> wrote: >> >> > This is a follow-up to a question I asked several weeks ago. >> > Apologies for the delay, I had medical issues. >> > >> > The question was whether SVG supported name aliases for color >> > definition, and I was shown there is indeed an existing list of such >> > named colors. I think what I'm driving at goes a bit deeper; an >> > example might be best. >> >> SVG 1.2 Tiny allows this, see the spec[1] (and if you scroll down a > bit from there, there's even a complete example of how to use it). >> >> In a <solidColor> element you can set the 'solid-color' attribute to > whatever color you need using the normal svg syntax for colors, and by > giving the <solidColor> element an id you can reference this as a > paintserver, just like a gradient, e.g url(#mycolor). >> > > Actually, <solidColor> defines a paint server, which, strictly > speaking, is not the same as a color keyword. You can reference a > paint server in the fill and stroke properties of a shape element. But > color keywords can also be used in a gradient as the stop-color of a > stop element. This is a place where you need to specify a color and a > paint server is not an allowed value. > > On another note, it's possible to use a gradient with just one color > for the whole range as a substitute for <solidColor>. This wouldn't > require an SVG 1.2 viewer. Thanks, I've raised this as an issue for a future SVG spec revision [1]. If there's further feedback on this topic, please post to the [EMAIL PROTECTED] list and put "ISSUE-2047" in the mail body or subject line. Cheers /Erik [1] http://www.w3.org/Graphics/SVG/WG/track/issues/2047 -- Erik Dahlstrom, Core Technology Developer, Opera Software Co-Chair, W3C SVG Working Group Personal blog: http://my.opera.com/macdev_ed ------------------------------------ ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ----Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

