Re: problem in firefox and moziila

Hi, jhon-

Well, the proximal cause of that error is that setProperty takes 3 
arguments, not 2.  So, for example, instead of:
    this._svg.style.setProperty('text-anchor', anchor);
it should say,
    this._svg.style.setProperty('text-anchor', anchor, '');

But repairing that still doesn't fix the file.

In Firefox1.5, relative values for 'dy' are not implemented, so the code 
still won't work.

I can whip up a simple proof-of-concept that works across browsers for 
you, if you're interested.

Regards-
-Doug

jhon wrote:
 > Greetings.
 >
 > http://www.xml.com/2002/09/11/examples/TextWrap.svg
 >
 > This SVG file is not work in mozilla, firefox and opera.
 > I put this in the svg file
 >
 > xmlns:xlink="http://www.w3.org/1999/xlink"
 >
 > but, NO work, only the half :-( .
 >
 >
 > In Mozilla, firefox i have the following log at the error console:
 >
 > 1.)
 > Warning:  Unknown property 'line-interval'.  Rejected declaration.
 > Source file : file:///home/foo/SVG/TextWrap.svg
 > line: 0
 >
 > (here: in the *line-interval* is the Text String")
 >
 > 2.)
 > Error: uncaught exception: [Exception... "Not enough arguments" 
nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)"  location: "JS
 > frame :: file:///home/foo/SVG/TextWrap.es :: anonymous :: line 266" 
data: no]
 >
 > Internet Explorer work fine.
 >
 > Some Help?.
 >
 >
 >
 >
 >


-- 



Research and Standards Engineer
6th Sense Analytics
www.6thsenseanalytics.com
mobile: 919.824.5482

Received on Monday, 2 April 2007 22:49:55 UTC