зеркало из https://github.com/mozilla/pjs.git
prevent fixed frames from trying to split reflow roots in print mode b=408602 r+sr=roc a=disicore
This commit is contained in:
Родитель
60e8d875c8
Коммит
ceb1ddeaa8
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче