diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-07-12 11:34:47 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-07-12 11:34:47 +0100 |
commit | 8d3a89b62db7ee14df788f1ea06a8beb1b283471 (patch) | |
tree | 26106a3ef58c39a07d076f6c249f763169690c7f /render | |
parent | 3a0bda977136f0764d5da15c1d727b6de63fa6c5 (diff) | |
download | netsurf-8d3a89b62db7ee14df788f1ea06a8beb1b283471.tar.gz netsurf-8d3a89b62db7ee14df788f1ea06a8beb1b283471.tar.bz2 |
Don't attempt to vertical-align objects for now, as our current bodged vertical-align implementation can do more harm than good.
Diffstat (limited to 'render')
-rw-r--r-- | render/layout.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/render/layout.c b/render/layout.c index fd518d993..14d06ee5a 100644 --- a/render/layout.c +++ b/render/layout.c @@ -2911,8 +2911,7 @@ 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->object != NULL) { + d->type == BOX_INLINE_END) { css_fixed value = 0; css_unit unit = CSS_UNIT_PX; switch (css_computed_vertical_align(d->style, &value, |