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-02 05:26:52 +00:00
Родитель 42383004c3
Коммит 4b2cf51593
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;
}