[webkit-dev] Need help in understanding Webkit reflow

Simon Fraser simon.fraser at apple.com
Wed May 27 17:59:49 PDT 2009

On May 27, 2009, at 1:17 PM, Lucius Fox wrote:

> I would like some help/pointers in how to understand Webkit reflow
> logic/mechanism.
> I would like to know given a URL, what elements are
> re-layout/re-calculate dimension multiple times (e.g. things like
> table without height/width attribute).

Look at the various Render* classes in WebCore/rendering, in  
particular their layout() methods.

> Is there any instrumentation in Webkit to collect that information?


> Or can where can I add debug printfs in Webkit to understand that.

Those methods I mentioned above.

If you haven't already, you should read the series of blog posts  
starting here:


More information about the webkit-dev mailing list