Bug 389583. Floats fit if their bottom edge is equal to the available space bottom edge. r=eli,sr=mats,a=dbaron

git-svn-id: svn://10.0.0.236/trunk@233827 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
roc+%cs.cmu.edu 2007-09-04 04:04:12 +00:00
parent 3bc75965c2
commit 12dd7ea12e

View File

@ -688,7 +688,7 @@ nsBlockReflowState::CanPlaceFloat(const nsSize& aFloatSize,
}
// See if there is now enough height for the float.
if (yb < mY + mAvailSpaceRect.height) {
if (yb <= mY + mAvailSpaceRect.height) {
// Winner. The bottom Y coordinate of the float is in
// this band.
break;