Re: Ruby-SVG problems with Style attributes
- From: grr ruby svg freek <grr@xxxxxxxxxxxxxxxx>
- Date: Thu, 08 Jun 2006 16:13:32 +0300
I found a workaround: I wrapped the attributes with the "-"-character
inside double quotes; literally: ":stroke-width" if you get the drift :)
Girrrrrrrr
On Thu, 08 Jun 2006 15:41:35 +0300, grr ruby svg freek wrote:
So I found an excellent SVG class made by Yuya at
http://raa.ruby-lang.org/project/ruby-svg - Thank you Yuya!
Its very nice piece of work, but I have one problem with Style attributes
that contain the "-" character (minus), such as ":stroke-width" or
"fill-opacity". Attributes without "-" function ok (such as ":fill" or
":stroke"".
.
- References:
- Ruby-SVG problems with Style attributes
- From: grr ruby svg freek
- Ruby-SVG problems with Style attributes
- Prev by Date: GUI tool/way to layout RHTML? Any doc on differences between html and supported rhtml?
- Next by Date: Re: if VAR =~ one of a list?
- Previous by thread: Re: Ruby-SVG problems with Style attributes
- Next by thread: GUI tool/way to layout RHTML? Any doc on differences between html and supported rhtml?
- Index(es):