mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-11 13:29:21 +03:00
Fix float wrapping when available space equals space that would be used by float.
svn path=/trunk/netsurf/; revision=3898
This commit is contained in:
parent
5141da86fd
commit
9c0eda1d2c
@ -1877,7 +1877,7 @@ void place_float_below(struct box *c, int width, int cx, int y,
|
||||
} else if (left != 0 && right == 0) {
|
||||
yy = left->y + left->height;
|
||||
}
|
||||
} while (!((left == 0 && right == 0) || (c->width < x1 - x0)));
|
||||
} while (!((left == 0 && right == 0) || (c->width <= x1 - x0)));
|
||||
|
||||
if (c->type == BOX_FLOAT_LEFT) {
|
||||
c->x = x0;
|
||||
|
Loading…
Reference in New Issue
Block a user