Hello,

i tried to view the example from http://www.xml.com/pub/a/2002/09/11/quint.html in Squiggle. This example displays without any problem in the Adobe SVG-Viewer. But when I tried to view it in Squiggle, I found three major problems:

First problem (not very serious):
In line 151 and others: tspan.style.setProperty('word-spacing', space + 'px'); Doesn't work. I had to change it into: tspan.style.setProperty('word-spacing', space + 'px', ""); Is this a bug in Rhino or is the ECMAScript Implementation by Adobe more sleazy?


Second problem (very serious):
The method style.getPropertyValue() (line 71ff) is not working always correctly. It works for:


this.setFontFamily( style.getPropertyValue('font-family') );
this.setFontSize( style.getPropertyValue('font-size') );
this.setTextRendering( style.getPropertyValue('text-rendering') );

but not for

style.getPropertyValue(''text-align') );
style.getPropertyValue(''line-interval') );

Whats this??

Third problem:
I can't add the same attribute twice to a element (lines 203 and 215). This is probably a bug in Rhino, because i do think, that the second attribute should overwrite the first.


Thanks,

Rufus

--
                            '""'"
                           ( o o )
-----------------------oOOo--(__)----oOOo-------------
Rufus J.W. Buschart                              BOSCH

Robert Bosch Corporation
Research and Technology Center
RTC
4009 Miranda Avenue
Palo Alto, CA 94304
United States
Phone: 650-320-2967
Fax: 650-320-2925



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to