From 431f9fde5f009f70b9519bbbfb6113f8461a2b9b Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 8 Jun 2013 10:42:33 +0100 Subject: Apply vertical alignment to objects on line. --- render/layout.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'render/layout.c') diff --git a/render/layout.c b/render/layout.c index 14d06ee5a..fd518d993 100644 --- a/render/layout.c +++ b/render/layout.c @@ -2911,7 +2911,8 @@ bool layout_line(struct box *first, int *width, int *y, if ((d->type == BOX_INLINE && d->inline_end) || d->type == BOX_BR || d->type == BOX_TEXT || - d->type == BOX_INLINE_END) { + d->type == BOX_INLINE_END || + d->object != NULL) { css_fixed value = 0; css_unit unit = CSS_UNIT_PX; switch (css_computed_vertical_align(d->style, &value, -- cgit v1.2.3