Fixed bug where tables weren't returning a proper set of metrics

This commit is contained in:
kipp 1998-07-02 21:24:56 +00:00
Родитель 2a161ae8b5
Коммит f0ed6d38a2
2 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -480,6 +480,8 @@ NS_METHOD nsTableOuterFrame::Reflow(nsIPresContext* aPresContext,
aDesiredSize.height = aReflowState.maxSize.height;
else
aDesiredSize.height = state.y;
aDesiredSize.ascent = aDesiredSize.height;
aDesiredSize.descent = 0;
if (gsDebug==PR_TRUE)
{

Просмотреть файл

@ -480,6 +480,8 @@ NS_METHOD nsTableOuterFrame::Reflow(nsIPresContext* aPresContext,
aDesiredSize.height = aReflowState.maxSize.height;
else
aDesiredSize.height = state.y;
aDesiredSize.ascent = aDesiredSize.height;
aDesiredSize.descent = 0;
if (gsDebug==PR_TRUE)
{