mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 04:56:50 +03:00
Clearer wrapping.
svn path=/trunk/netsurf/; revision=9519
This commit is contained in:
parent
31ccf7beed
commit
5a4897d722
@ -3849,8 +3849,8 @@ void layout_compute_relative_offset(struct box *box, int *x, int *y)
|
||||
css_computed_position(box->style) ==
|
||||
CSS_POSITION_RELATIVE);
|
||||
|
||||
if (box->float_container && (css_computed_float(box->style) ==
|
||||
CSS_FLOAT_LEFT ||
|
||||
if (box->float_container &&
|
||||
(css_computed_float(box->style) == CSS_FLOAT_LEFT ||
|
||||
css_computed_float(box->style) == CSS_FLOAT_RIGHT)) {
|
||||
containing_block = box->float_container;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user