On Tuesday 2008-06-03 13:00 -0700, Jonathan wrote: > Can you please tell me what kind of frame does mozilla create for > iframe tag? > > >From the iFrame.h, it said '/* nsIFrame is in the process of being > deCOMtaminated, i.e., this file is eventually > going to be eliminated, and all callers will use nsFrame instead. > At the moment > we're midway through this process, so you will see inlined > functions and member > variables in this file. -dwh */' > > So can you please tell me what kind of frame that mozilla uses?
nsIFrame is the base class of all rendering objects (frames). IFRAME elements have an nsSubDocumentFrame created for them. See sCSSFrameConstructor::ConstructHTMLFrame . You might want to have a look at some of the documentation at http://www.mozilla.org/newlayout/doc/ , particularly the recent techtalks. -David -- L. David Baron http://dbaron.org/ Mozilla Corporation http://www.mozilla.com/ _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

