include previously removed borderpadding and cellspacing, bug 215629, r=jkeiser sr=dbaron

This commit is contained in:
bmlk%gmx.de 2003-09-24 16:04:54 +00:00
Родитель f8bc100164
Коммит 988f310f13
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1320,7 +1320,7 @@ BasicTableLayoutStrategy::CalcPctAdjTableWidth(nsIPresContext& aPresCon
}
// If there is only one col and it is % based, it won't affect anything
if ((1 == numCols) && (numCols == numPerCols)) {
return basis;
return basis + borderPadding.left + borderPadding.right + mCellSpacingTotal;
}
// compute a basis considering total percentages and the desired width of everything else

Просмотреть файл

@ -1320,7 +1320,7 @@ BasicTableLayoutStrategy::CalcPctAdjTableWidth(nsIPresContext& aPresCon
}
// If there is only one col and it is % based, it won't affect anything
if ((1 == numCols) && (numCols == numPerCols)) {
return basis;
return basis + borderPadding.left + borderPadding.right + mCellSpacingTotal;
}
// compute a basis considering total percentages and the desired width of everything else