22 Jun
2005
22 Jun
'05
12:47 a.m.
On Jun 21, 2005, at 3:01 PM, David Hyatt wrote:
document.body.offsetTop.
You sure? offsetTop appears to be defined on all nodes, not just elements, and kjs_dom.cpp line 408 looks like it will force the layout in any case for all nodes, even if there is no renderer. Although I guess the body version is cleaner. - Maciej