Kenny YU wrote:
> And I suppose that the parser and the content-sink instances are all
> created inside nsHTMLDocument::StartDocumentLoad, right?

Yes.

> Or acutally I know how a Parser is triggered,
> but I don't quite understand how Content-sink, CSS-frame-constructors
> are notified accordingly...

The parser notifies the sink via the nsIContentSink, nsIHTMLContentSink, etc 
interfaces.

The sink notifies everything else by calling document observers.

 > is it possible to give me a rough big picture about this?

Does http://www.mozilla.org/docs/url_load.html work?  It's pretty old, but 
still 
largely correct.

-Boris
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to