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



_______________________________________________
webkit-dev mailing list
[email protected]
http://www.opendarwin.org/mailman/listinfo/webkit-dev

Reply via email to