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

This commit is contained in:
2007-05-21 03:06:08 -07:00
parent 5969494ddd
commit bd16aac27e
3 changed files with 6 additions and 2 deletions

View File

@@ -1120,11 +1120,11 @@ nsBlockFrame::Reflow(nsPresContext* aPresContext,
aMetrics.mOverflowArea.UnionRect(aMetrics.mOverflowArea, childBounds);
}
FinishAndStoreOverflow(&aMetrics);
// Determine if we need to repaint our border, background or outline
CheckInvalidateSizeChange(aPresContext, aMetrics, aReflowState);
FinishAndStoreOverflow(&aMetrics);
// Clear the space manager pointer in the block reflow state so we
// don't waste time translating the coordinate system back on a dead
// space manager.