luongf wrote:
> I've look the plan at :
> http://www.mozilla.org/docs/url_load.html
> 
> I'm sorry if it bothers you cause I have a lot of questions. If you
> could answer at least one of them, I would be happy.
> 
> the plan is a little difficult to understand, but it gave me a
> starting global vision of a web browser. Nethertheless, it doesn't
> explain where the js engine (Spidermonkey) is implemented and how it
> modify the page(I suppose it is at the content tree level). Perhaps
> someone can help me.
> 
> I also thought that a css parser is used, but apparently, it's the
> nsCSSFrameConstructor who is in charge of this. Does it use a css
> parser? if yes, which one?
> 
> the nsCSSFrameConstructor creates frames in the nsIFrame hierarchy.
> ok, but if there is a modification (in the case of a dynamic page),
> who does it?
> 
> Does the nsPresShell only do a paint() whenever a change occurs?
> 
> I've seen that the NGLayout also have a HTML parser, and I'm not sure
> but I think I 've seen that it can handle the javascript. There, I'm
> really lost. What does the NGLayout regroup? I thought it was only a
> renderer.
> 
> Thank you very much for spending time reading this and if you could
> help me, it would be great!

Ok I'll try to do a brief summary

The js engine is implemented in mozilla/js/src
The newsgroup for it is netscape.public.mozilla.jseng.
The documentation is at mozilla.org/js .
You are not likely to get answers to your questions about CSS parser and 
HTML parser etc in this newsgroup. You will have better luck in 
netscape.public.mozilla.layout or netscape.public.mozilla.style. This 
newsgroup is about the documentation project, not asking about the code.

NGLayout is the official name of the rendering engine, though nobody 
uses that name anymore. We use the name "Gecko" as a general term, 
though it doesn't really mean anything either. Basically the "rendering 
engine" is the HTML Parser + the layout engine + the DOM engine + the 
Style System.

I think you will find
http://www.mozilla.org/newlayout/doc/
to be interesting for your purposes.

I can answer more precise questions about the DOM if you wish, but 
that's about it as far as I'm concerned.

-Fabian.


Reply via email to