summaryrefslogtreecommitdiff
path: root/render/html_redraw.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2008-12-26 15:10:28 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2008-12-26 15:10:28 +0000
commitf26342940b2154de82750ad815c8ff69e6a5f98c (patch)
tree4726cf2d2cf02e70ba178577bdc35750b4f0ff4b /render/html_redraw.c
parent0ba4a444ccdfe9575caf2ccd4de50350b2395c88 (diff)
downloadnetsurf-f26342940b2154de82750ad815c8ff69e6a5f98c.tar.gz
netsurf-f26342940b2154de82750ad815c8ff69e6a5f98c.tar.bz2
Fix display of inline borders when inline has no background.
svn path=/trunk/netsurf/; revision=5924
Diffstat (limited to 'render/html_redraw.c')
-rw-r--r--render/html_redraw.c3
1 files changed, 2 insertions, 1 deletions
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;