Changed to make sure we link the child frame into the list of frames before

we reflow it


git-svn-id: svn://10.0.0.236/trunk@4420 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy
1998-06-24 16:35:21 +00:00
parent 6a86699f96
commit 344f630d8d
10 changed files with 126 additions and 108 deletions

View File

@@ -322,6 +322,7 @@ NS_METHOD nsTableCellFrame::Reflow(nsIPresContext* aPresContext,
kidSize.width=kidSize.height=kidSize.ascent=kidSize.descent=0;
nsReflowState kidReflowState(mFirstChild, aReflowState, availSize);
mFirstChild->WillReflow(*aPresContext);
mFirstChild->MoveTo(leftInset, topInset);
aStatus = ReflowChild(mFirstChild, aPresContext, kidSize, kidReflowState);
if (PR_TRUE==gsDebug || PR_TRUE==gsDebugNT)