mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-12 06:52:25 +00:00
prevent fixed frames from trying to split reflow roots in print mode b=408602 r+sr=roc a=disicore
This commit is contained in:
parent
03f542c9b5
commit
c211162a35
@ -218,10 +218,12 @@ nsPageContentFrame::Reflow(nsPresContext* aPresContext,
|
||||
!frame->GetNextInFlow(), "bad child flow list");
|
||||
}
|
||||
// Reflow our fixed frames
|
||||
mFixedContainer.Reflow(this, aPresContext, aReflowState, aStatus,
|
||||
nsReflowStatus fixedStatus = NS_FRAME_COMPLETE;
|
||||
mFixedContainer.Reflow(this, aPresContext, aReflowState, fixedStatus,
|
||||
aReflowState.availableWidth,
|
||||
aReflowState.availableHeight,
|
||||
PR_FALSE, PR_TRUE, PR_TRUE); // XXX could be optimized
|
||||
NS_ASSERTION(NS_FRAME_IS_COMPLETE(fixedStatus), "fixed frames can be truncated, but not incomplete");
|
||||
|
||||
// Return our desired size
|
||||
aDesiredSize.width = aReflowState.availableWidth;
|
||||
|
Loading…
x
Reference in New Issue
Block a user