Bug 330964 - Fix cellspacing call in CalcUnpaginagedHeight. r=roc

This commit is contained in:
James Kitchener 2014-02-23 05:00:00 -05:00
parent 0fb72e2604
commit 1296f2e758

View File

@ -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;