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)
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
>
>
>
>
>
>
>
>
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/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/