Ensure that inline end boxes get the correct height.

svn path=/trunk/netsurf/; revision=9104
This commit is contained in:
Michael Drake 2009-08-07 15:52:00 +00:00
parent b0cc93800a
commit 3cbbdeb91c

View File

@ -2128,6 +2128,7 @@ bool layout_line(struct box *first, int *width, int *y,
b->x += b->margin[LEFT] + b->border[LEFT].width;
x = b->x + b->padding[LEFT] + b->width;
} else if (b->type == BOX_INLINE_END) {
b->height = b->inline_end->height;
x += b->padding[RIGHT] +
b->border[RIGHT].width +
b->margin[RIGHT];