Re: [svg-developers] getClientX() and getBBox() not in Firefox 1.5?

2005-10-17 Thread Jeff Rafter
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

Re: [svg-developers] getClientX() and getBBox() not in Firefox 1.5?

2005-10-17 Thread Jérôme Tricand de la Goutte
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

Re: [svg-developers] getClientX() and getBBox() not in Firefox 1.5?

2005-10-17 Thread Jonathan Watt
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)

Re: [svg-developers] getClientX() and getBBox() not in Firefox 1.5?

2005-10-17 Thread thomas . deweese
Hi Jeff, svg-developers@yahoogroups.com wrote on 10/17/2005 02:06:04 PM: Hmmm, forceRedraw *should* work in an ideal world-- but I haven't tested it. Essentially this is a problem with many implementations-- the DOM is lazy with respect to rendering hints. In SharpVectorGraphics I think

Re: [svg-developers] getClientX() and getBBox() not in Firefox 1.5?

2005-10-16 Thread Antoine Quint
On 16 oct. 2005, at 16:24, ddailey wrote: I tried to work around the aparent absence of these things with statements like: if (evt.getClientX()) { .. do something ...} getClientX() is not a standard method of the DOM, you should just use evt.clientX instead. I'm pretty sure that'll

Re: [svg-developers] getClientX() and getBBox() not in Firefox 1.5?

2005-10-16 Thread ddailey
it to the Mozilla folks -- hopefully I was not too hasty. dd - Original Message - From: Antoine Quint [EMAIL PROTECTED] To: svg-developers@yahoogroups.com Sent: Sunday, October 16, 2005 10:34 AM Subject: Re: [svg-developers] getClientX() and getBBox() not in Firefox 1.5? On 16 oct. 2005, at 16:24

RE: [svg-developers] getClientX() and getBBox() not in Firefox 1.5?

2005-10-16 Thread Doug Schepers
] getClientX() and getBBox() not | in Firefox 1.5? | | | On 16 oct. 2005, at 16:24, ddailey wrote: | | I tried to work around the aparent absence of these things with | statements | like: | | if (evt.getClientX()) { .. do something ...} | | getClientX() is not a standard method of the DOM, you