bug 48295 (floating nested table height initially 0, makes layout wrong)

r=karnaze
values from the wrong struct were getting passed into SetTallestCell
This commit is contained in:
buster@netscape.com
2000-08-31 02:57:58 +00:00
parent e51f212c3e
commit c956fd1b43
2 changed files with 2 additions and 2 deletions

View File

@@ -1132,7 +1132,7 @@ nsTableRowFrame::InitialReflow(nsIPresContext* aPresContext,
// XXX do we need to call CalculateCellActualSize?
PlaceChild(aPresContext, aReflowState, kidFrame, kidSize, x, 0,
aDesiredSize.maxElementSize, &kidMaxElementSize);
SetTallestCell(aDesiredSize.height, aDesiredSize.ascent, aDesiredSize.descent, aReflowState.tableFrame, (nsTableCellFrame*)kidFrame);
SetTallestCell(kidSize.height, kidSize.ascent, kidSize.descent, aReflowState.tableFrame, (nsTableCellFrame*)kidFrame);
x += kidSize.width + cellSpacingX;
}
else