diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-02-25 19:14:38 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-02-25 19:14:38 +0000 |
commit | d9280e8d72fceceff632b98ab400c9979eec0965 (patch) | |
tree | 059285dbd97bfff10f51dd0f800e757ecdc1f7ad /render/box_construct.c | |
parent | c419e726b19aa838f119c3d35fe31c237bf27ae1 (diff) | |
download | netsurf-d9280e8d72fceceff632b98ab400c9979eec0965.tar.gz netsurf-d9280e8d72fceceff632b98ab400c9979eec0965.tar.bz2 |
Fix bug #2076786: do not apply fallback content to failed objects
svn path=/trunk/netsurf/; revision=11797
Diffstat (limited to 'render/box_construct.c')
-rw-r--r-- | render/box_construct.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/render/box_construct.c b/render/box_construct.c index 42b9929ca..6f91629fd 100644 --- a/render/box_construct.c +++ b/render/box_construct.c @@ -1198,7 +1198,6 @@ bool box_object(BOX_SPECIAL_PARAMS) struct object_param *param; xmlChar *codebase, *classid, *data; xmlNode *c; - struct box *inline_container = 0; if (box->style && css_computed_display(box->style, n->parent == NULL) == CSS_DISPLAY_NONE) @@ -1325,15 +1324,6 @@ bool box_object(BOX_SPECIAL_PARAMS) box, 0, content->available_width, 1000, false)) return false; - /* convert children and place into fallback */ - for (c = n->children; c; c = c->next) { - if (!convert_xml_to_box(c, content, box->style, box, - &inline_container, 0, 0, 0)) - return false; - } - box->fallback = box->children; - box->children = box->last = 0; - *convert_children = false; return true; } |