On Apr 6, 9:05 am, Boris Zbarsky <[EMAIL PROTECTED]> wrote:
> krithika wrote:
> > Is there any document or diagram clearly explaining the relationship.
>
> http://www.mozilla.org/newlayout/doc/gecko-overview.htmis decent.
>
> > This is my understanding.DOM Node has one to one relationship with
> > content.
>
> Yes.
>
> > Where as a content has one to may relationship with frames.
>
> More or less, yes.
>
> > I actually need the last frame (after which page breaks) of a each
> > page and then get that frames content.
>
> Then you want to do basically 
> whathttp://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/layout/base/nsLay...
> does, right?
>
> Note that the content for a frame may be anonymous content, not content in the
> original DOM...
>
> -Boris

Thanks for the input. Let me try this as see if it gives me the last
frame of the page.

nsFrameList frameList(firstChildFrame);
nsIFrame*   lastChildFrame = frameList.LastChild();

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

Reply via email to