Bug 377391: Parts of a rectangle with CSS outline remains, when changing rectangle size. r+sr=roc

git-svn-id: svn://10.0.0.236/trunk@226705 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sharparrow1%yahoo.com
2007-05-21 10:06:08 +00:00
parent 66ceed1300
commit 1e238506ce
3 changed files with 6 additions and 2 deletions

View File

@@ -406,7 +406,10 @@ nsSubDocumentFrame::Reflow(nsPresContext* aPresContext,
// Determine if we need to repaint our border, background or outline
CheckInvalidateSizeChange(aPresContext, aDesiredSize, aReflowState);
FinishAndStoreOverflow(&aDesiredSize);
// Invalidate the frame contents
// XXX is this really needed?
nsRect rect(nsPoint(0, 0), GetSize());
Invalidate(rect, PR_FALSE);