Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Where is the start point of mozilla rendering/layout engine?

0 views
Skip to first unread message

silverbu...@gmail.com

unread,
Jun 14, 2007, 2:21:04 AM6/14/07
to
Hi,

When user loads a page using mozilla, I assume the following events
happens:
1. download the html files
2. parse the html files to build a dom
3. start layout the dom

Can you please tell me where is the code which is the entry point of
the mozilla rendering engine?

Thank you.

Boris Zbarsky

unread,
Jun 14, 2007, 12:08:49 PM6/14/07
to
silverbu...@gmail.com wrote:
> When user loads a page using mozilla, I assume the following events
> happens:
> 1. download the html files
> 2. parse the html files to build a dom
> 3. start layout the dom

They happen in parallel, but the result should be similar to what would happen
if they were done in series, yes.

> Can you please tell me where is the code which is the entry point of
> the mozilla rendering engine?

You mean step 3 above? See PresShell::InitialReflow and
PresShell::ContentAppended/ContentInserted.

-Boris

0 new messages