Fix clipping of page background if body shorter than window height
svn path=/trunk/netsurf/; revision=2675
This commit is contained in:
parent
b427a005b6
commit
8c2e33b399
|
@ -1050,7 +1050,8 @@ void html_object_callback(content_msg msg, struct content *object,
|
|||
c->status ==
|
||||
CONTENT_STATUS_DONE)
|
||||
content_reformat(c,
|
||||
c->available_width, 0);
|
||||
c->available_width,
|
||||
c->height);
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -1169,7 +1170,7 @@ void html_object_callback(content_msg msg, struct content *object,
|
|||
msg == CONTENT_MSG_REDIRECT ||
|
||||
msg == CONTENT_MSG_AUTH)) {
|
||||
/* all objects have arrived */
|
||||
content_reformat(c, c->available_width, 0);
|
||||
content_reformat(c, c->available_width, c->height);
|
||||
c->status = CONTENT_STATUS_DONE;
|
||||
content_set_status(c, messages_get("Done"));
|
||||
content_broadcast(c, CONTENT_MSG_DONE, data);
|
||||
|
|
Loading…
Reference in New Issue