Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron

git-svn-id: svn://10.0.0.236/trunk@153808 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
roc+%cs.cmu.edu
2004-03-10 03:09:05 +00:00
parent 10a3960c2e
commit 44185c6657
65 changed files with 352 additions and 742 deletions

View File

@@ -1045,10 +1045,11 @@ nsContainerFrame::FinishReflowChild(nsIFrame* aKidFrame,
PositionChildViews(aPresContext, aKidFrame);
}
// We also need to redraw the frame because if the frame's Reflow issued any
// invalidates, then they will be at the wrong offset ... note that this includes
// invalidates issued against the frame's children, so we need to invalidate
// the overflow area too.
// We also need to redraw everything associated with the frame
// because if the frame's Reflow issued any invalidates, then they
// will be at the wrong offset ... note that this includes
// invalidates issued against the frame's children, so we need to
// invalidate the overflow area too.
aKidFrame->Invalidate(aDesiredSize.mOverflowArea);
}