mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-23 06:51:26 +03:00
Apply vertical alignment to objects on line.
This commit is contained in:
parent
1f14790d47
commit
431f9fde5f
@ -2911,7 +2911,8 @@ bool layout_line(struct box *first, int *width, int *y,
|
||||
if ((d->type == BOX_INLINE && d->inline_end) ||
|
||||
d->type == BOX_BR ||
|
||||
d->type == BOX_TEXT ||
|
||||
d->type == BOX_INLINE_END) {
|
||||
d->type == BOX_INLINE_END ||
|
||||
d->object != NULL) {
|
||||
css_fixed value = 0;
|
||||
css_unit unit = CSS_UNIT_PX;
|
||||
switch (css_computed_vertical_align(d->style, &value,
|
||||
|
Loading…
Reference in New Issue
Block a user