bug 60807 - revised patch to handle 2 regression test cases.

git-svn-id: svn://10.0.0.236/trunk@92358 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
karnaze%netscape.com
2001-04-15 20:49:09 +00:00
parent cd8477c0b6
commit 371c47e0e3
2 changed files with 12 additions and 2 deletions

View File

@@ -674,7 +674,12 @@ BasicTableLayoutStrategy::ComputeNonPctColspanWidths(PRInt32 aWidthInd
}
else { // FIX or DES_CON with LIMIT_NONE
if (FIX == aWidthIndex) {
availWidth -= pctTotal;
if (autoDesTotal > 0) {
availWidth -= pctTotal + fixTotal;
}
else if (fixTotal > 0) {
availWidth -= pctTotal;
}
}
else if (DES_CON == aWidthIndex) {
availWidth -= pctTotal + fixTotal;