Bug 330964 - Make nsTableFrame::GetCellSpacing[XY] take an argument. r=roc
This commit is contained in:
@@ -828,9 +828,10 @@ CalcUnpaginagedHeight(nsPresContext* aPresContext,
|
||||
int32_t rowIndex;
|
||||
firstCellInFlow->GetRowIndex(rowIndex);
|
||||
int32_t rowSpan = aTableFrame.GetEffectiveRowSpan(*firstCellInFlow);
|
||||
nscoord cellSpacing = firstTableInFlow->GetCellSpacingY();
|
||||
|
||||
nscoord computedHeight = ((rowSpan - 1) * cellSpacing) - aVerticalBorderPadding;
|
||||
nscoord computedHeight = firstTableInFlow->GetCellSpacingY(rowIndex,
|
||||
rowIndex + rowSpan - 1);
|
||||
computedHeight -= aVerticalBorderPadding;
|
||||
int32_t rowX;
|
||||
for (row = firstRGInFlow->GetFirstRow(), rowX = 0; row; row = row->GetNextRow(), rowX++) {
|
||||
if (rowX > rowIndex + rowSpan - 1) {
|
||||
|
||||
Reference in New Issue
Block a user