Changed the frame hierarchy, and changed how scrolling works. Also added

nsAreaFrame which replaces nsBodyFrame which is no longer used
This commit is contained in:
troy@netscape.com
1998-12-20 23:29:47 +00:00
parent 7f3338565b
commit c15328cc97
27 changed files with 885 additions and 1121 deletions

View File

@@ -506,7 +506,7 @@ nsHTMLButtonControlFrame::SetInitialChildList(nsIPresContext& aPresContext,
mInline = (NS_STYLE_DISPLAY_BLOCK != styleDisplay->mDisplay);
PRUint8 flags = (mInline) ? NS_BODY_SHRINK_WRAP : 0;
NS_NewBodyFrame(mFirstChild, flags);
NS_NewAreaFrame(mFirstChild, flags);
// Resolve style and initialize the frame
nsIStyleContext* styleContext =