harvinder wrote:
> Could somebody help me understand
> [1] the difference between view and frame objects in FF3.

A frame is basically a CSS box.  It's the basic unit of layout and 
rendering.

A view is basically used for certain kinds of grouping for painting 
purposes.  It's purely a rendering thing.

> [2] Is there anyway to get the related DOM object from the frame
> object?

nsIFrame::GetContent() ?

> [3] Is every frame object responsible for their own painting? Is there
> any frame object that does not paint itself?

In Gecko 1.9 (Fx3), frames are responsible for creating their own 
display list elements, which then paint themselves.

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

Reply via email to