It's still not easy. We have a tree of frames. Some frames have views. When we paint, we create a "display list" of views in the correct z-order (see nsViewManager::BuildDisplayListForRendering). Then we paint the views from back to front. When we paint a view, we paint the frame subtree that has that view at the root ... excluding descendant frames that have their own views.
So you'd need to build your own view display list and then for each view, extract the frames that belong to that view. Rob _______________________________________________ mozilla-layout mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-layout
