From 6fa9482b9598451e80b94dac1fadc447cce56888 Mon Sep 17 00:00:00 2001 From: "bmlk%gmx.de" Date: Mon, 28 Aug 2006 17:41:46 +0000 Subject: [PATCH] mark the whole table ofr bc recomputation if the rowgroups change bug 347796 r/sr=bzbarsky --- layout/tables/nsTableFrame.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/layout/tables/nsTableFrame.cpp b/layout/tables/nsTableFrame.cpp index f42de50c6445..55f1a63a8a95 100644 --- a/layout/tables/nsTableFrame.cpp +++ b/layout/tables/nsTableFrame.cpp @@ -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);