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

This commit is contained in:
bmlk%gmx.de 2006-09-21 09:55:07 +00:00
parent aeb70b6d20
commit 56f7eba7ce

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;
}