Use new body ctor api

This commit is contained in:
kipp@netscape.com
1998-10-06 00:40:41 +00:00
parent 821cd19234
commit aa3f7144c0
2 changed files with 2 additions and 2 deletions

View File

@@ -194,7 +194,7 @@ nsHTMLContainerFrame::CreateWrapperFrame(nsIPresContext& aPresContext,
content->CanContainChildren(isContainer);
if (isContainer) {
// Wrap the floated element in a BODY frame.
NS_NewBodyFrame(content, this, aWrapperFrame, PR_FALSE);
NS_NewBodyFrame(content, this, aWrapperFrame, NS_BODY_SHRINK_WRAP);/* XXX auto margins? */
// The body wrapper frame gets the original style context, and the floated
// frame gets a pseudo style context