mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-27 14:29:42 +03:00
Reformat objects that reach the READY state.
This commit is contained in:
parent
7df658618c
commit
ddf45cd672
@ -1178,6 +1178,13 @@ html_object_callback(hlcache_handle *object,
|
||||
break;
|
||||
|
||||
case CONTENT_MSG_READY:
|
||||
/* TODO: avoid knowledge of box internals here */
|
||||
content_reformat(object, false,
|
||||
box->max_width != UNKNOWN_MAX_WIDTH ?
|
||||
box->width : 0,
|
||||
box->max_width != UNKNOWN_MAX_WIDTH ?
|
||||
box->height : 0);
|
||||
|
||||
if (content_get_type(object) == CONTENT_HTML) {
|
||||
html_object_done(box, object, o->background);
|
||||
if (c->base.status == CONTENT_STATUS_READY ||
|
||||
|
Loading…
Reference in New Issue
Block a user