Yes, I considered doing something similar but our app is too big and  
complex to want to start coding that sort of stuff into it,  
especially when FF is still very much a secondary browser to IE for  
the vast majority of our users.

If I had to come up with a fix for this I'd probably change the text- 
anchoring so it's all left-aligned, which would be ugly but at least  
would work everywhere.

The mozilla guys are being very quiet about this so far. Can someone  
give us an update?

Guy


On 18/11/2006, at 1:34 AM, richard_smith_ons wrote:

> Thanks Guy,
>
> I have now implemented a rather "smelly" workaround which is to
> conditionally move the anchor point of the text so that the number
> appears in vaguely the right place :-(
>
> var agent = navigator.userAgent;
> if (agent.indexOf("Firefox/2.0") > 0)
> {
>   if (svgdoc.getElementById("compValue") != null)
>   {
>     var morex = svgdoc.getElementById("compValue").getAttributeNS
> (null,"x");
>     morex = parseInt(morex) - 40;
>     svgdoc.getElementById("compValue").setAttributeNS
> (null,"x",morex);
>   }
> }
>
> Richard
>
> --- In [email protected], Guy Morton <[EMAIL PROTECTED]> wrote:
>>
>> I've not heard of any progress on this, other than I think they
> are
>> taking a serious look into why it's happening (at least I hope
> they
>> are). Another example for them to chew over can only help. There
> is
>> no workaround as far as i know, which leaves us currently unable
> to
>> consider FF2 a usable browser. Hopefully they will find the bug
> and
>> release 2.01 before too many copies of FF2 get  out into the wild.
>>
>> Guy
>>
>> On 17/11/2006, at 10:02 PM, richard_smith_ons wrote:
>>
>>> I have some code to display a numeric value obtained from the
> server
>>> as right-justified. It works as nature intended on Firefox 1.5
> and
>>> ASV3 but FF2 left-justifies it. D'oh!
>>>
>>> in XSL:
>>> <text x="340" y="43" font-family="Arial" font-size="12px" text-
>>> anchor="end" id="compValue" ><xsl:text> </xsl:text></text>
>>>
>>> in Javascript after value obtained:
>>>  svgdoc.getElementById("compValue").firstChild.data = vdata;
>>>
>>> Has this been reported? Is there are workaround?
>>>
>>> Thanks,
>>>
>>> Richard
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> -----
>>> To unsubscribe send a message to: svg-developers-
>>> [EMAIL PROTECTED]
>>> -or-
>>> visit http://groups.yahoo.com/group/svg-developers and
> click "edit
>>> my membership"
>>> ----
>>> Yahoo! Groups Links
>>>
>>>
>>>
>>>
>>
>
>
>
>
>
> -----
> To unsubscribe send a message to: svg-developers- 
> [EMAIL PROTECTED]
> -or-
> visit http://groups.yahoo.com/group/svg-developers and click "edit  
> my membership"
> ----
> Yahoo! Groups Links
>
>
>
>



-----
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/
 

Reply via email to