summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2009-08-07 15:52:00 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2009-08-07 15:52:00 +0000
commit3cbbdeb91cb25c8be5f83674778395c42988d542 (patch)
tree17f5a13e744a6f111e9247f4491b35084df54136
parentb0cc93800ab0a94369d3519d7347983117b48ba7 (diff)
downloadnetsurf-3cbbdeb91cb25c8be5f83674778395c42988d542.tar.gz
netsurf-3cbbdeb91cb25c8be5f83674778395c42988d542.tar.bz2
Ensure that inline end boxes get the correct height.
svn path=/trunk/netsurf/; revision=9104
-rw-r--r--render/layout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/render/layout.c b/render/layout.c
index 58c970745..3ba9b038d 100644
--- a/render/layout.c
+++ b/render/layout.c
@@ -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];