mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 13:06:49 +03:00
Ensure images within inline-blocks are shown properly. Fixed by zamez.
svn path=/trunk/netsurf/; revision=3783
This commit is contained in:
parent
fcd30e0819
commit
48bdeb34c8
@ -1078,7 +1078,7 @@ bool layout_line(struct box *first, int *width, int *y,
|
|||||||
x += space_after;
|
x += space_after;
|
||||||
|
|
||||||
if (b->type == BOX_INLINE_BLOCK) {
|
if (b->type == BOX_INLINE_BLOCK) {
|
||||||
if (b->width == UNKNOWN_WIDTH)
|
if (b->max_width != UNKNOWN_WIDTH)
|
||||||
if (!layout_float(b, *width, content))
|
if (!layout_float(b, *width, content))
|
||||||
return false;
|
return false;
|
||||||
h = b->border[TOP] + b->padding[TOP] + b->height +
|
h = b->border[TOP] + b->padding[TOP] + b->height +
|
||||||
|
Loading…
Reference in New Issue
Block a user