summaryrefslogtreecommitdiff
path: root/render/box_construct.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/box_construct.c')
-rw-r--r--render/box_construct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/box_construct.c b/render/box_construct.c
index 34cd77b04..5fdb23b5a 100644
--- a/render/box_construct.c
+++ b/render/box_construct.c
@@ -1631,8 +1631,8 @@ bool box_iframe(BOX_SPECIAL_PARAMS)
free(url);
/* box */
- box->type = BOX_INLINE_BLOCK;
assert(box->style);
+ box->flags |= IFRAME;
/* Showing iframe, so don't show alternate content */
if (convert_children)