From f33fd2c604a2e1d332211db3cc5147b23920c685 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 16 Oct 2008 20:50:48 +0000 Subject: Take into account variations in text line height due to styled inlines when laying out inline containers. svn path=/trunk/netsurf/; revision=5587 --- render/layout.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'render') diff --git a/render/layout.c b/render/layout.c index b46d554ca..34d4933cb 100644 --- a/render/layout.c +++ b/render/layout.c @@ -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))); -- cgit v1.2.3