mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
ReframeContainingBlock needs to work on <body> and such too. Bug 74951,
r=caillon, sr=dbaron
This commit is contained in:
parent
2ab233039c
commit
b840b8f912
@ -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,
|
||||
|
@ -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
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user