Some improvements to the row splitting code

This commit is contained in:
troy%netscape.com 1998-12-16 03:46:03 +00:00
parent 519b665bc0
commit bd67066c8a
4 changed files with 6 additions and 2 deletions

View File

@ -433,6 +433,7 @@ nsTableCellFrame::CreateContinuingFrame(nsIPresContext& aPresContext,
}
cf->Init(aPresContext, mContent, aParent, aStyleContext);
cf->AppendToFlow(this);
cf->InitCellFrame(GetColIndex());
aContinuingFrame = cf;
// Create a continuing body frame

View File

@ -1426,8 +1426,9 @@ nsTableRowFrame::CreateContinuingFrame(nsIPresContext& aPresContext,
}
cf->Init(aPresContext, mContent, aParent, aStyleContext);
cf->AppendToFlow(this);
cf->SetRowIndex(GetRowIndex());
// Create a continuing frame for each table cell
// Create a continuing frame for each table cell frame
nsIFrame* newChildList;
for (nsIFrame* kidFrame = mFirstChild;
nsnull != kidFrame;

View File

@ -433,6 +433,7 @@ nsTableCellFrame::CreateContinuingFrame(nsIPresContext& aPresContext,
}
cf->Init(aPresContext, mContent, aParent, aStyleContext);
cf->AppendToFlow(this);
cf->InitCellFrame(GetColIndex());
aContinuingFrame = cf;
// Create a continuing body frame

View File

@ -1426,8 +1426,9 @@ nsTableRowFrame::CreateContinuingFrame(nsIPresContext& aPresContext,
}
cf->Init(aPresContext, mContent, aParent, aStyleContext);
cf->AppendToFlow(this);
cf->SetRowIndex(GetRowIndex());
// Create a continuing frame for each table cell
// Create a continuing frame for each table cell frame
nsIFrame* newChildList;
for (nsIFrame* kidFrame = mFirstChild;
nsnull != kidFrame;