ignore overflow containers when balancing, b=399407, r+sr=roc a=beltzner
git-svn-id: svn://10.0.0.236/trunk@239216 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
3ba09bcb04
commit
7ce523d36b
@ -438,7 +438,7 @@ nsColumnSetFrame::ReflowChildren(nsHTMLReflowMetrics& aDesiredSize,
|
||||
#endif
|
||||
}
|
||||
}
|
||||
int columnCount = 0;
|
||||
int columnCount = 0; // ignores overflow container columns; they don't affect balancing
|
||||
PRBool reflowNext = PR_FALSE;
|
||||
|
||||
while (child) {
|
||||
@ -549,7 +549,8 @@ nsColumnSetFrame::ReflowChildren(nsHTMLReflowMetrics& aDesiredSize,
|
||||
NS_ASSERTION(!kidNextInFlow, "next in flow should have been deleted");
|
||||
break;
|
||||
} else {
|
||||
++columnCount;
|
||||
if (NS_FRAME_IS_NOT_COMPLETE(aStatus)) // don't increment for overflow containers
|
||||
++columnCount;
|
||||
// Make sure that the column has a next-in-flow. If not, we must
|
||||
// create one to hold the overflowing stuff, even if we're just
|
||||
// going to put it on our overflow list and let *our*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user