mark for all reflows the rowgroup as incomplete if there are still nextinflows bug 347367 r/sr=roc

git-svn-id: svn://10.0.0.236/trunk@212103 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bmlk%gmx.de 2006-09-21 09:55:07 +00:00
parent e7a6b93807
commit 02306d36c5

View File

@ -1382,7 +1382,10 @@ nsTableRowGroupFrame::Reflow(nsPresContext* aPresContext,
// calculate the height based on the rect of the last row
aDesiredSize.height = GetHeightOfRows();
}
// if we have a nextinflow we are not complete
if (GetNextInFlow()) {
aStatus |= NS_FRAME_NOT_COMPLETE;
}
aDesiredSize.mOverflowArea.UnionRect(aDesiredSize.mOverflowArea, nsRect(0, 0, aDesiredSize.width,
aDesiredSize.height));
FinishAndStoreOverflow(&aDesiredSize);
@ -1587,10 +1590,6 @@ nsTableRowGroupFrame::IR_TargetIsMe(nsPresContext* aPresContext,
break;
}
// XXX If we have a next-in-flow, then we're not complete
if (GetNextInFlow()) {
aStatus = NS_FRAME_NOT_COMPLETE;
}
return rv;
}
@ -1822,10 +1821,6 @@ nsTableRowGroupFrame::IR_TargetIsChild(nsPresContext* aPresContext,
// Return our desired width
//aDesiredSize.width = aReflowState.reflowState.availableWidth;
if (GetNextInFlow()) {
aStatus = NS_FRAME_NOT_COMPLETE;
}
return rv;
}