mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-11 13:29:21 +03:00
Fix display of inline borders when inline has no background.
svn path=/trunk/netsurf/; revision=5924
This commit is contained in:
parent
0ba4a444cc
commit
f26342940b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user