[EMAIL PROTECTED] wrote: > I looks like the SetView() of nsFrame will eventually calls > PresContext()->PropertyTable()->SetProperty()...
Yes. > It seems to me it is the PresContext() owns the view. No. The frame owns it (in the sense of being responsible for cleaning it up as needed). The prescontext is just where the pointer is stored. > So can you please tell me which owns the View? PresContext() or > Frame()? And how many Views are there per html Document? > 1 for the whole document? As many as needed, depending on what frames are there and what their styles look like. -Boris _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

