Moved logic that deals with moving absolutely positioned frames out of the

flow to the frame construction code
This commit is contained in:
troy@netscape.com
1998-12-29 03:38:16 +00:00
parent e45405c4b5
commit 6f9192bec1
89 changed files with 2348 additions and 1732 deletions

View File

@@ -272,12 +272,14 @@ nsrefcnt nsFrame::Release(void)
NS_IMETHODIMP
nsFrame::Init(nsIPresContext& aPresContext,
nsIContent* aContent,
nsIFrame* aParent,
nsIFrame* aGeometricParent,
nsIFrame* aContentParent,
nsIStyleContext* aContext)
{
mContent = aContent;
NS_IF_ADDREF(mContent);
mGeometricParent = mContentParent = aParent;
mGeometricParent = aGeometricParent;
mContentParent = aContentParent;
return SetStyleContext(&aPresContext, aContext);
}