W3C home > Mailing lists > Public > www-svg@w3.org > April 2007

Re: problem in firefox and moziila

From: Doug Schepers <doug@schepers.cc>
Date: Mon, 02 Apr 2007 18:49:50 -0400
Message-ID: <4611888E.5030800@schepers.cc>
To: www-svg@w3.org

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 GMT

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