summaryrefslogtreecommitdiff
path: root/render/layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/layout.c')
-rw-r--r--render/layout.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/render/layout.c b/render/layout.c
index 13e85e2e6..c4dbcb0b7 100644
--- a/render/layout.c
+++ b/render/layout.c
@@ -320,8 +320,7 @@ bool layout_block_context(struct box *block, int viewport_height,
* left and right margins to avoid any floats. */
lm = rm = 0;
- if (box->type == BOX_BLOCK || box->object ||
- box->flags & IFRAME) {
+ if (box->type == BOX_BLOCK || box->flags & IFRAME) {
if (!box->object && !(box->flags & IFRAME) &&
!(box->flags & REPLACE_DIM) &&
box->style &&