From f26342940b2154de82750ad815c8ff69e6a5f98c Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 26 Dec 2008 15:10:28 +0000 Subject: Fix display of inline borders when inline has no background. svn path=/trunk/netsurf/; revision=5924 --- render/html_redraw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/render/html_redraw.c b/render/html_redraw.c index 0a99d6e7b..416f1ff37 100644 --- a/render/html_redraw.c +++ b/render/html_redraw.c @@ -421,7 +421,8 @@ bool html_redraw_box(struct box *box, /* backgrounds and borders for inlines */ if (box->style && box->type == BOX_INLINE && box->inline_end && (box->style->background_color != TRANSPARENT || - box->background)) { + box->background || border_top || border_right || + border_bottom || border_left)) { /* inline backgrounds and borders span other boxes and may * wrap onto separate lines */ struct box *ib; -- cgit v1.2.3