From 53f4da342088e0fe685034d0582cbf6fa13527ae Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 14 Jun 2011 20:00:18 +0000 Subject: First pass at core iframes. Currently lacking scrollbars. svn path=/trunk/netsurf/; revision=12474 --- render/box.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'render/box.c') 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) -- cgit v1.2.3