krithika wrote: > Now I have to get the last child frame of this block frame. > > Is this the right way to do it? > > nsIContent* cont=lastFrame->GetContent(); > childCount=cont.GetChildCount(); > nsIContent* lastCont = cont->GetChildAt(childCount-1);
Are you looking for frames or content? The two are _so_ not the same thing. -Boris _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

