Bug 416630 - "nsColumnSetFrame unbounded last column next in flow check is reversed" [p=craig.topper@gmail.com (Craig Topper) r+sr=roc a1.9=schrep]

This commit is contained in:
reed@reedloden.com 2008-02-10 23:21:43 -08:00
parent 9e6291f06f
commit 0b80fce065

View File

@ -756,7 +756,7 @@ nsColumnSetFrame::Reflow(nsPresContext* aPresContext,
// if we have a next in flow because we don't want to suck all its
// content back here and then have to push it out again!
nsIFrame* nextInFlow = GetNextInFlow();
PRBool unboundedLastColumn = isBalancing && nextInFlow;
PRBool unboundedLastColumn = isBalancing && !nextInFlow;
nsCollapsingMargin carriedOutBottomMargin;
PRBool feasible = ReflowChildren(aDesiredSize, aReflowState,
aStatus, config, unboundedLastColumn, &carriedOutBottomMargin);