diff options
Diffstat (limited to 'render/layout.c')
-rw-r--r-- | render/layout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/render/layout.c b/render/layout.c index c4e6e570c..f1bf14a78 100644 --- a/render/layout.c +++ b/render/layout.c @@ -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 { |