summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--layout/tables/nsTableFrame.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/layout/tables/nsTableFrame.cpp b/layout/tables/nsTableFrame.cpp
index 99838f217..57b249fb3 100644
--- a/layout/tables/nsTableFrame.cpp
+++ b/layout/tables/nsTableFrame.cpp
@@ -176,6 +176,9 @@ nsTableFrame::Init(nsIContent* aContent,
const nsStyleTableBorder* tableStyle = StyleTableBorder();
bool borderCollapse = (NS_STYLE_BORDER_COLLAPSE == tableStyle->mBorderCollapse);
SetBorderCollapse(borderCollapse);
+ if (borderCollapse) {
+ SetNeedToCalcHasBCBorders(true);
+ }
if (!aPrevInFlow) {
// If we're the first-in-flow, we manage the cell map & layout strategy that