minor updates and fixes

This commit is contained in:
buster
1998-06-17 19:51:51 +00:00
parent 035fc05529
commit ab6b2bcb32
17 changed files with 40 additions and 206 deletions

View File

@@ -464,7 +464,6 @@ void nsTableFrame::EnsureColumns(nsIPresContext* aPresContext,
// need to find the generic way to stamp out this content, and ::AppendChild it
// this might be ok. no matter what my mcontent is, I know it needs a colgroup as a kid?
// QQQ needs a ref count?
lastColGroup = new nsTableColGroup (PR_TRUE);
// XXX: how do I know whether AppendChild should notify or not?
mContent->AppendChild(lastColGroup, PR_FALSE); // was AppendColGroup
@@ -629,7 +628,6 @@ void nsTableFrame::BuildCellMap ()
}
if (gsDebug==PR_TRUE)
DumpCellMap ();
//QQQ EnsureColumns();
}
/**
@@ -810,7 +808,6 @@ void nsTableFrame::AppendLayoutData(nsVoidArray* aList, nsTableCellFrame* aTable
void nsTableFrame::RecalcLayoutData()
{
//QQQ should we ensureCellMap here?
PRInt32 colCount = mCellMap->GetColCount();
PRInt32 rowCount = mCellMap->GetRowCount();
PRInt32 row = 0;
@@ -1261,9 +1258,9 @@ nsReflowStatus nsTableFrame::ResizeReflowPass1(nsIPresContext* aPresContext,
}
}
// BuildColumnCache calls EnsureCellMap. If that ever changes, be sure to call EnsureCellMap
// here first.
BuildColumnCache(aPresContext, aDesiredSize, aReflowState, aStatus);
EnsureCellMap();//QQQ have to determine where the right place for this is now that it's a frame-side operation
//QQQ cell map used to be forced before loop
// Recalculate Layout Dependencies
RecalcLayoutData();