This is a very unfortunate problem. :-(
On 10/17/05, Jérôme Tricand de la Goutte <[EMAIL PROTECTED]> wrote:
>
> Hi Jeff,
>
> On FF 1.5, you can't also do, for example :
>
> var myObj=document.createElementNS(NameSpace, 'rect')
> myObj.setAttribute('x',20)
> myObj.setAttribute('y',20)
> myObj.setAttribute('width',20)
> myObj.setAttribute('height',20)
> document.getElementById('WhereIputRects').appendChild(myObj)
Rendering is asynchronous so at the point in time the following line is
called the 'rect' probably won't have been rendered. You could try calling
document.documentElement.forceRedraw() here, but I don't think forceRedraw
works properly either. :-(
var bb=myObj.getBBox()
>
> Is it the same bug?
>
> Cheers
>
> Jérôme
>
>
>
> Jeff Rafter wrote:
>
> >>"getBBox()" is also supported, although there does seem to be something
> >>buggy about it. I haven't troubled to track it down, but I think it only
> >>works on visible, rendered objects.
> >>
> >>
> >
> >Yep, there is a problem in that you have to wait until *after* onload...
> >but not in onload. So you have to settimeout in onload and hope that
> >everything is rendered. So there is not a "safe" time to really check
> >this per se... it may be right, it may not be for that brief startup
> >moment. I believe that there is a bug filed on this already.
> >
> >Cheers,
> >Jeff Rafter
> >
> >
> >
> >-----
> >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 unsubscribe send a message to:
> [EMAIL PROTECTED]
> -or-
> visit http://groups.yahoo.com/group/svg-developers and click "edit my
> membership"
> ----
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/1U_rlB/TM
--------------------------------------------------------------------~->
-----
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/
<*> 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/