ReframeContainingBlock needs to work on <body> and such too. Bug 74951,

r=caillon, sr=dbaron
This commit is contained in:
bzbarsky%mit.edu 2002-11-06 02:26:52 +00:00
parent 2ab233039c
commit b840b8f912
4 changed files with 2 additions and 20 deletions

View File

@ -14187,14 +14187,7 @@ nsCSSFrameConstructor::ReframeContainingBlock(nsIPresContext* aPresContext, nsIF
}
// If we get here, we're screwed!
return RecreateEntireFrameTree(aPresContext);
}
nsresult
nsCSSFrameConstructor::RecreateEntireFrameTree(nsIPresContext* aPresContext)
{
// XXX write me some day
return NS_OK;
return ReconstructDocElementHierarchy(aPresContext);
}
nsresult nsCSSFrameConstructor::RemoveFixedItems(nsIPresContext* aPresContext,

View File

@ -891,8 +891,6 @@ protected:
nsresult StyleChangeReflow(nsIPresContext* aPresContext, nsIFrame* aFrame, nsIAtom* aAttribute);
nsresult RecreateEntireFrameTree(nsIPresContext* aPresContext);
/** Helper function that searches the immediate child frames
* (and their children if the frames are "special")
* for a frame that maps the specified content object

View File

@ -14187,14 +14187,7 @@ nsCSSFrameConstructor::ReframeContainingBlock(nsIPresContext* aPresContext, nsIF
}
// If we get here, we're screwed!
return RecreateEntireFrameTree(aPresContext);
}
nsresult
nsCSSFrameConstructor::RecreateEntireFrameTree(nsIPresContext* aPresContext)
{
// XXX write me some day
return NS_OK;
return ReconstructDocElementHierarchy(aPresContext);
}
nsresult nsCSSFrameConstructor::RemoveFixedItems(nsIPresContext* aPresContext,

View File

@ -891,8 +891,6 @@ protected:
nsresult StyleChangeReflow(nsIPresContext* aPresContext, nsIFrame* aFrame, nsIAtom* aAttribute);
nsresult RecreateEntireFrameTree(nsIPresContext* aPresContext);
/** Helper function that searches the immediate child frames
* (and their children if the frames are "special")
* for a frame that maps the specified content object