Clearer wrapping.

svn path=/trunk/netsurf/; revision=9519
This commit is contained in:
Michael Drake 2009-08-31 10:44:40 +00:00
parent 31ccf7beed
commit 5a4897d722

View File

@ -3849,8 +3849,8 @@ void layout_compute_relative_offset(struct box *box, int *x, int *y)
css_computed_position(box->style) == css_computed_position(box->style) ==
CSS_POSITION_RELATIVE); CSS_POSITION_RELATIVE);
if (box->float_container && (css_computed_float(box->style) == if (box->float_container &&
CSS_FLOAT_LEFT || (css_computed_float(box->style) == CSS_FLOAT_LEFT ||
css_computed_float(box->style) == CSS_FLOAT_RIGHT)) { css_computed_float(box->style) == CSS_FLOAT_RIGHT)) {
containing_block = box->float_container; containing_block = box->float_container;
} else { } else {