On Saturday 2004-03-27 01:02 -0500, Robert O'Callahan wrote:
> L. David Baron wrote:
> >I'm also wondering whether nsHTMLReflowState, nsHTMLReflowMetrics, and
> >nsReflowPath should be in base or generic (for now they're in generic).
> 
> I don't really grok the distinction between base and generic. For 
> example, why is nsIFrame in generic and not base? If it was up to me I 
> might make base include everything that you absolutely must use to have 
> a working presentation, and generic include the rest. So generic could 
> include block-and-line, pagination, text, etc, but not nsIFrame and 
> nsFrame themselves.

The idea was that generic contain the basic frame classes and supporting
code, while base contain other core things (pres shell, etc.).  Now that
you mention it, it wouldn't make sense to move the reflow stuff to base
without moving nsIFrame as well.  Perhaps they should all be thrown
together, though, although there are a lot of frame classes and they'd
tend to hide the other things.

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >
_______________________________________________
mozilla-layout mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-layout

Reply via email to