[EMAIL PROTECTED] wrote:
Dear friends
I'm a newbie for html layout, and the Mozilla(Gecko) code would be the
best reference for me(or anyone can suggest something else, such as
book, article...).
I'm reading Mozilla code now, and I found that there are more then 40
kinds of object that derived form nsIframe, is there any doc or note
can clarify the mapping relationship between these objects and the html
element(e.g. nsBulletFrame for the bullet in List).
This mapping process is done in nsCSSFrameConstructor::ConstructFrame
Although the frame used for some html elements is determined by the
element type, most frames are determined by css properties (display,
float, etc), so the default stylesheets in the res directory would also
be a place to look.
If there is not any existing words on this issue, maybe we can make a
rough one under this thread.
Better would be to put it on wiki.mozilla.org
/ Neil
_______________________________________________
mozilla-layout mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-layout