mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
mark for all reflows the rowgroup as incomplete if there are still nextinflows bug 347367 r/sr=roc
This commit is contained in:
parent
aeb70b6d20
commit
56f7eba7ce
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user