Ensure images within inline-blocks are shown properly. Fixed by zamez.

svn path=/trunk/netsurf/; revision=3783
This commit is contained in:
Michael Drake 2008-01-27 22:25:11 +00:00
parent fcd30e0819
commit 48bdeb34c8
1 changed files with 1 additions and 1 deletions

View File

@ -1078,7 +1078,7 @@ bool layout_line(struct box *first, int *width, int *y,
x += space_after;
if (b->type == BOX_INLINE_BLOCK) {
if (b->width == UNKNOWN_WIDTH)
if (b->max_width != UNKNOWN_WIDTH)
if (!layout_float(b, *width, content))
return false;
h = b->border[TOP] + b->padding[TOP] + b->height +