bug 42643 - invalidate the cell rect when a style change occurs. r=muster.

This commit is contained in:
karnaze@netscape.com
2000-09-11 02:47:02 +00:00
parent 9f97d34bdf
commit 4fe2bd5e22
2 changed files with 6 additions and 0 deletions

View File

@@ -805,6 +805,9 @@ NS_METHOD nsTableCellFrame::Reflow(nsIPresContext* aPresContext,
if (nsDebugTable::gRflArea) nsTableFrame::DebugReflow("Area::Rfl en", firstKid, &kidReflowState, nsnull);
ReflowChild(firstKid, aPresContext, kidSize, kidReflowState,
kidOrigin.x, kidOrigin.y, 0, aStatus);
if (isStyleChanged) {
Invalidate(aPresContext, mRect);
}
if (nsDebugTable::gRflArea) nsTableFrame::DebugReflow("Area::Rfl ex", firstKid, nsnull, &kidSize, aStatus);
#ifdef NS_DEBUG

View File

@@ -805,6 +805,9 @@ NS_METHOD nsTableCellFrame::Reflow(nsIPresContext* aPresContext,
if (nsDebugTable::gRflArea) nsTableFrame::DebugReflow("Area::Rfl en", firstKid, &kidReflowState, nsnull);
ReflowChild(firstKid, aPresContext, kidSize, kidReflowState,
kidOrigin.x, kidOrigin.y, 0, aStatus);
if (isStyleChanged) {
Invalidate(aPresContext, mRect);
}
if (nsDebugTable::gRflArea) nsTableFrame::DebugReflow("Area::Rfl ex", firstKid, nsnull, &kidSize, aStatus);
#ifdef NS_DEBUG