bug 10009 - uses width set on <td> in figuring width of nested table

git-svn-id: svn://10.0.0.236/trunk@49247 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
karnaze%netscape.com
1999-09-28 21:57:44 +00:00
parent 84195608af
commit 3d4aa5c477
2 changed files with 2 additions and 2 deletions

View File

@@ -946,7 +946,7 @@ void BasicTableLayoutStrategy::SetMinAndMaxTableContentWidths()
for (PRInt32 colX = 0; colX < mNumCols; colX++) {
nsTableColFrame* colFrame = mTableFrame->GetColFrame(colX);
mMinTableContentWidth += colFrame->GetMinWidth();
mMaxTableContentWidth += colFrame->GetDesWidth();
mMaxTableContentWidth += PR_MAX(colFrame->GetDesWidth(), colFrame->GetFixWidth());
if (mTableFrame->GetNumCellsOriginatingInCol(colX) > 0) {
mMaxTableContentWidth += spacingX;
mMinTableContentWidth += spacingX;