Don't try to redraw newly fetched objects' areas in parent html document if parent doc is still in LOADING state.

svn path=/trunk/netsurf/; revision=12609
This commit is contained in:
Michael Drake 2011-07-19 13:15:03 +00:00
parent 11b3bb228a
commit d66afbca4a

View File

@ -1509,7 +1509,10 @@ nserror html_object_callback(hlcache_handle *object,
c->base.active--;
html_object_done(box, object, o->background);
if (box->flags & REPLACE_DIM) {
if (c->base.status != CONTENT_STATUS_LOADING &&
box->flags & REPLACE_DIM) {
/* Redraw newly available object if parent content is
* displayable, and the object's box size is known */
union content_msg_data data;
if (!box_visible(box))