Fix bug 449362. r+sr=roc, a=samuelsidler

git-svn-id: svn://10.0.0.236/trunk@253822 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2008-08-25 20:41:10 +00:00
parent 3a5f6b5a90
commit f9d965c3dd
10 changed files with 45 additions and 24 deletions

View File

@@ -345,7 +345,7 @@ nsTableRowFrame::DidResize()
desiredSize.width = mRect.width;
desiredSize.height = mRect.height;
desiredSize.mOverflowArea = nsRect(0, 0, desiredSize.width,
desiredSize.height);
desiredSize.height);
while (childFrame) {
if (IS_TABLE_CELL(childFrame->GetType())) {
@@ -1064,7 +1064,7 @@ nsTableRowFrame::Reflow(nsPresContext* aPresContext,
// If our parent is in initial reflow, it'll handle invalidating our
// entire overflow rect.
if (!(GetParent()->GetStateBits() & NS_FRAME_FIRST_REFLOW)) {
CheckInvalidateSizeChange(aPresContext, aDesiredSize, aReflowState);
CheckInvalidateSizeChange(aDesiredSize);
}
NS_FRAME_SET_TRUNCATION(aStatus, aReflowState, aDesiredSize);