Take into account variations in text line height due to styled inlines when laying out inline containers.

svn path=/trunk/netsurf/; revision=5587
This commit is contained in:
Michael Drake 2008-10-16 20:50:48 +00:00
parent e4407cd7e9
commit f33fd2c604

View File

@ -2039,6 +2039,8 @@ bool layout_line(struct box *first, int *width, int *y,
if (used_height < h)
used_height = h;
}
if (d->type == BOX_TEXT && d->height > used_height)
used_height = d->height;
}
assert(b != first || (move_y && 0 < used_height && (left || right)));