--- In [email protected], "johnbaronreid1972"
<[EMAIL PROTECTED]> wrote:

You are not doing anything wrong. You are suffering from
https://bugzilla.mozilla.org/show_bug.cgi?id=339807

This was fixed during the Firefox 3 development cycle. A workaround
would be to use setTimeout as Andreas suggests.

Best regards

Robert.

>
> --- In [email protected], "Andreas Neumann" <neumann@>
> wrote:
> >
> > Hi John,
> > 
> > there are actually only one problem with firefox and bounding-boxes:
> > 
> > * Firefox 1.5 and 2 had a bug where .getBBox() could not be called 
> > "onload". One had to do a slight delay, using setTimeout() with a few 
> > milliseconds. This is corrected in Firefox3 though.
> > 
> > Other than that Firefox is correct when not returning bounding-boxes 
> > when display is set to none. The difference between display=none and 
> > visibility=hidden is that with visibility, the elements are part of 
> > the rendering tree, while with display=none they are not. For 
> > elements that aren't part of the rendering tree it is impossible to 
> > calculate bounding boxes. The same applies for newly created elements 
> > that haven't been appended to the DOM tree.
> > 
> > Hope this helps,
> > Andreas
> > 
> I'm afraid it doesn't help. My element has display:none initially then
> I set display to inline in the javascript then I call getBBox which
> throws an error. I don't think I am doing anything wrong. Please let
> me know if I am.
> 
> John.
>




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