From: Cameron H. <ca...@bi...> - 2001-01-30 10:27:57
|
Hi, I remember a post from Robert saying he'd got offsetWidth and offsetHeight working in NS6 using a setTimeout. Was this specific to one of the widgets Robert, or did it fix W/H for everything in NS6? If you need a setTimeout for the thing to work properly, it sounds like a bug in the browser. The great thing about Mozilla is if you post a bug, they'll fix it for you ;-) It can take a while, it depends on how important the developers feel that peice of functionality is. But I think it would be worth writing a test case and a bug report for the W/H bug. I can submit one if someone (Robert I guess) tells me how to reproduce the bug, that is how it works versus how you think it should work. Something else which might be if interest to DOM enthusiasts, I was wondering why offsetHeight and offsetWidth and similar measurements aren't in any of the DOM's. I posted a query about this to ww...@w3..., and the response was it's been put on the back burner as there hasn't been that much interest in this functionality. Apparently it will probably end up in DOM3. I thought it would have been pretty core functionality... |