fixed some nested table bugs and made some minor adjustments to Kipp's new line layout code.

This commit is contained in:
buster
1998-06-26 00:48:44 +00:00
parent afcd4ed98e
commit 5f7aabb12f
8 changed files with 232 additions and 172 deletions
+1 -2
View File
@@ -212,8 +212,7 @@ nscoord nsTableRowFrame::GetChildMaxBottomMargin() const
PRInt32 nsTableRowFrame::GetMaxColumns() const
{
int sum = 0;
nsTableCellFrame *cell=nsnull;
ChildAt(0, (nsIFrame *&)cell);
nsTableCellFrame *cell=(nsTableCellFrame *)mFirstChild;
while (nsnull!=cell) {
sum += cell->GetColSpan();
cell->GetNextSibling((nsIFrame *&)cell);