mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-15 14:04:22 +03:00
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:
parent
e4407cd7e9
commit
f33fd2c604
@ -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)));
|
||||
|
Loading…
x
Reference in New Issue
Block a user