Fix display of inline borders when inline has no background.

svn path=/trunk/netsurf/; revision=5924
This commit is contained in:
Michael Drake 2008-12-26 15:10:28 +00:00
parent 0ba4a444cc
commit f26342940b
1 changed files with 2 additions and 1 deletions

View File

@ -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;