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:
parent
3bc75965c2
commit
12dd7ea12e
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user