diff --git a/mozilla/layout/generic/nsBlockReflowState.cpp b/mozilla/layout/generic/nsBlockReflowState.cpp index bd0a4488285..403f1b93fa7 100644 --- a/mozilla/layout/generic/nsBlockReflowState.cpp +++ b/mozilla/layout/generic/nsBlockReflowState.cpp @@ -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;