mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-27 00:40:15 +03:00
Hubbub allows FONT tags to span blocks and the way that
the box tree is generated, this makes the BOX_INLINE's BOX_INLINE_END appears in a different BOX_BLOCK. That seems wrong, but fix layout not to crash for now. svn path=/trunk/netsurf/; revision=6325
This commit is contained in:
parent
89cfc2f51b
commit
400ed91129
@ -2131,7 +2131,7 @@ bool layout_line(struct box *first, int *width, int *y,
|
||||
d->next != d->inline_end) {
|
||||
if (d->height > d->inline_end->line_height)
|
||||
d->inline_end->line_height = d->height;
|
||||
for (struct box *il = d; il != d->inline_end;
|
||||
for (struct box *il = d; il && il != d->inline_end;
|
||||
il = il->next) {
|
||||
if (d->height > il->line_height)
|
||||
il->line_height = d->height;
|
||||
|
Loading…
Reference in New Issue
Block a user