[webkit-dev] Debugging mid-page relayout issues

Maciej Stachowiak mjs at apple.com
Tue Jun 21 17:47:22 PDT 2005


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






More information about the webkit-dev mailing list