Prevent negative calculated width of replaced inlines in layout_minmax_line().
svn path=/trunk/netsurf/; revision=8933
This commit is contained in:
parent
3128ec1cdc
commit
ed16129b0c
|
@ -2678,6 +2678,8 @@ struct box *layout_minmax_line(struct box *first,
|
|||
&fixed, &frac);
|
||||
calculate_mbp_width(b->style, RIGHT, true, true, true,
|
||||
&fixed, &frac);
|
||||
|
||||
if (0 < width + fixed)
|
||||
width += fixed;
|
||||
} else {
|
||||
/* form control with no object */
|
||||
|
|
Loading…
Reference in New Issue