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

This commit is contained in:
roc+@cs.cmu.edu 2007-09-03 21:04:12 -07:00
parent 5901370c90
commit d00b4dc27a

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;