зеркало из https://github.com/mozilla/gecko-dev.git
include previously removed borderpadding and cellspacing, bug 215629, r=jkeiser sr=dbaron
This commit is contained in:
Родитель
e0af45990e
Коммит
f597144140
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче