From e5681e9351e7769ab143d89b76427b5bc350a25b Mon Sep 17 00:00:00 2001 From: James Kitchener Date: Sun, 23 Feb 2014 05:00:00 -0500 Subject: [PATCH] Bug 330964 - Fix cellspacing call in CalcUnpaginagedHeight. r=roc --- layout/tables/nsTableCellFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/tables/nsTableCellFrame.cpp b/layout/tables/nsTableCellFrame.cpp index 644fc2b6dc4..23270eaacaa 100644 --- a/layout/tables/nsTableCellFrame.cpp +++ b/layout/tables/nsTableCellFrame.cpp @@ -828,7 +828,7 @@ CalcUnpaginagedHeight(nsPresContext* aPresContext, int32_t rowIndex; firstCellInFlow->GetRowIndex(rowIndex); int32_t rowSpan = aTableFrame.GetEffectiveRowSpan(*firstCellInFlow); - nscoord cellSpacing = firstTableInFlow->GetCellSpacingX(); + nscoord cellSpacing = firstTableInFlow->GetCellSpacingY(); nscoord computedHeight = ((rowSpan - 1) * cellSpacing) - aVerticalBorderPadding; int32_t rowX;