mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 21:16:50 +03:00
Only needed the vertical position changed.
svn path=/trunk/netsurf/; revision=3789
This commit is contained in:
parent
9c93407fce
commit
882c04c2fb
@ -1507,9 +1507,11 @@ bool layout_line(struct box *first, int *width, int *y,
|
||||
}
|
||||
if ((d->type == BOX_INLINE && (d->object || d->gadget)) ||
|
||||
d->type == BOX_INLINE_BLOCK) {
|
||||
d->x += x0;
|
||||
d->y = *y + d->border[TOP] + d->margin[TOP];
|
||||
}
|
||||
if (d->type == BOX_INLINE_BLOCK) {
|
||||
d->x += x0;
|
||||
}
|
||||
if (d->type == BOX_INLINE_BLOCK &&
|
||||
(d->style->position == CSS_POSITION_ABSOLUTE ||
|
||||
d->style->position == CSS_POSITION_FIXED))
|
||||
|
Loading…
Reference in New Issue
Block a user