bug 42726 - back out previous checkin.

This commit is contained in:
karnaze%netscape.com 2000-06-15 23:39:49 +00:00
Родитель 9461eb8980
Коммит 2eed56703e
2 изменённых файлов: 10 добавлений и 20 удалений

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

@ -1437,10 +1437,6 @@ NS_METHOD nsTableRowFrame::IR_TargetIsChild(nsIPresContext* aPresContext,
PRBool tallestCellGotShorter = PR_FALSE;
#ifndef MOZ_MATHML
if (initCellDesSize.height < oldCellDesSize.height) {
if (oldCellDesSize.height == GetTallestCell()) {
tallestCellGotShorter = PR_TRUE;
}
else {
nscoord width = initCellDesSize.width;
nscoord height = initCellDesSize.height;
CalculateCellActualSize(aNextFrame, width, height, cellAvailWidth); // considers style
@ -1449,7 +1445,6 @@ NS_METHOD nsTableRowFrame::IR_TargetIsChild(nsIPresContext* aPresContext,
tallestCellGotShorter = PR_TRUE;
}
}
}
if (tallestCellGotShorter) {
CalcTallestCell();
}

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

@ -1437,10 +1437,6 @@ NS_METHOD nsTableRowFrame::IR_TargetIsChild(nsIPresContext* aPresContext,
PRBool tallestCellGotShorter = PR_FALSE;
#ifndef MOZ_MATHML
if (initCellDesSize.height < oldCellDesSize.height) {
if (oldCellDesSize.height == GetTallestCell()) {
tallestCellGotShorter = PR_TRUE;
}
else {
nscoord width = initCellDesSize.width;
nscoord height = initCellDesSize.height;
CalculateCellActualSize(aNextFrame, width, height, cellAvailWidth); // considers style
@ -1449,7 +1445,6 @@ NS_METHOD nsTableRowFrame::IR_TargetIsChild(nsIPresContext* aPresContext,
tallestCellGotShorter = PR_TRUE;
}
}
}
if (tallestCellGotShorter) {
CalcTallestCell();
}