summaryrefslogtreecommitdiff
path: root/render/box.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-06-14 20:00:18 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-06-14 20:00:18 +0000
commit53f4da342088e0fe685034d0582cbf6fa13527ae (patch)
tree063970a74db5d904993cd2cc392f5e07f211b6a4 /render/box.c
parent6ed9b1de8bb2aa5220c60fbf0b42aea78f889da1 (diff)
downloadnetsurf-53f4da342088e0fe685034d0582cbf6fa13527ae.tar.gz
netsurf-53f4da342088e0fe685034d0582cbf6fa13527ae.tar.bz2
First pass at core iframes. Currently lacking scrollbars.
svn path=/trunk/netsurf/; revision=12474
Diffstat (limited to 'render/box.c')
-rw-r--r--render/box.c4
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)