Bug 386147: Don't cut off floats at the bottom of the page (part 1). r+sr=roc

This commit is contained in:
sharparrow1@yahoo.com 2007-07-01 22:26:52 -07:00
Родитель a0b0245480
Коммит 1b3608dca9
1 изменённых файлов: 2 добавлений и 0 удалений

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

@ -701,6 +701,8 @@ nsBlockReflowState::CanPlaceFloat(const nsSize& aFloatSize,
GetAvailableSpace(mY, aForceFit);
}
}
} else if (!aForceFit && (aFloatSize.height > mAvailSpaceRect.height)) {
result = PR_FALSE;
}
return result;
}