[webkit-dev] Resize/layout code

David D. Kilzer ddkilzer at kilzer.net
Thu Oct 18 17:50:11 PDT 2007

You want to read this blog entry about layout (as well as the other four



Artem Ananiev <Artem.Ananiev at Sun.COM> wrote:

> Hi,
> I'm trying to understand WebKit code which is responsible for layouting the 
> contents of Frame/FrameView. I see several methods including, but not limited
> to:
>     FrameView::layout()
>     FrameView::scheduleRelayout()
>     Frame::forceLayout()
>     Document::updateLayout()
>     FrameView::setNeedsLayout()
> What is the difference between all these methods? What method should be
> called 
> when, for example. the toplevel frameview is manually resized by user? Is any
> method should be called for inner frames, if any?
> I haven't found any documentation, either external or in source code, about 
> these methods:(
> Thanks,
> Artem

More information about the webkit-dev mailing list