mark the whole table ofr bc recomputation if the rowgroups change bug 347796 r/sr=bzbarsky

This commit is contained in:
bmlk%gmx.de 2006-08-28 17:41:46 +00:00
parent 6f250e7252
commit 6fa9482b95

View File

@ -2622,6 +2622,11 @@ nsTableFrame::RemoveFrame(nsIAtom* aListName,
mFrames.DestroyFrame(aOldFrame);
}
}
// for now, just bail and recalc all of the collapsing borders
if (IsBorderCollapse()) {
nsRect damageArea(0, 0, PR_MAX(1, GetColCount()), PR_MAX(1, GetRowCount()));
SetBCDamageArea(damageArea);
}
#ifdef DEBUG_TABLE_CELLMAP
printf("=== TableFrame::RemoveFrame\n");
Dump(PR_TRUE, PR_TRUE, PR_TRUE);