Bug 450930. Fire a DOM event when painting so that content and chrome can track what's being repainted. r=smaug,sr=dbaron

This commit is contained in:
Robert O'Callahan
2008-09-18 21:47:21 +12:00
parent ccc61e0fb2
commit bee2844b64
58 changed files with 818 additions and 150 deletions

View File

@@ -517,7 +517,7 @@ nsTableCellFrame::SetSelected(nsPresContext* aPresContext,
aPresContext->PresShell()->FrameSelection();
if (frameSelection->GetTableCellSelection()) {
// Selection can affect content, border and outline
Invalidate(GetOverflowRect(), PR_FALSE);
InvalidateOverflowRect();
}
return NS_OK;
}
@@ -933,7 +933,7 @@ NS_METHOD nsTableCellFrame::Reflow(nsPresContext* aPresContext,
// XXXbz is this invalidate actually needed, really?
if (GetStateBits() & NS_FRAME_IS_DIRTY) {
Invalidate(GetOverflowRect(), PR_FALSE);
InvalidateOverflowRect();
}
#ifdef NS_DEBUG