Ensure that inline end boxes get the correct height.
svn path=/trunk/netsurf/; revision=9104
This commit is contained in:
parent
b0cc93800a
commit
3cbbdeb91c
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue