diff options
Diffstat (limited to 'render/box.c')
-rw-r--r-- | render/box.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/render/box.c b/render/box.c index bd5f3daa1..60b5b9381 100644 --- a/render/box.c +++ b/render/box.c @@ -165,6 +165,7 @@ struct box * box_create(css_select_results *styles, css_computed_style *style, box->background = NULL; box->object = NULL; box->object_params = NULL; + box->iframe = NULL; return box; } @@ -932,6 +933,9 @@ void box_dump(FILE *stream, struct box *box, unsigned int depth) fprintf(stream, "(object '%s') ", content_get_url(box->object)); } + if (box->iframe) { + fprintf(stream, "(iframe) "); + } if (box->gadget) fprintf(stream, "(gadget) "); if (box->style) |