Don't special case height to content height when object's content is HTML.
svn path=/trunk/netsurf/; revision=10729
This commit is contained in:
parent
93873344dd
commit
ece31d1358
|
@ -809,8 +809,8 @@ bool layout_block_object(struct box *block)
|
|||
|
||||
if (content_get_type(block->object) == CONTENT_HTML) {
|
||||
content_reformat(block->object, block->width, 1);
|
||||
block->height = content_get_height(block->object);
|
||||
} else {
|
||||
/* Non-HTML objects */
|
||||
/* this case handled already in
|
||||
* layout_block_find_dimensions() */
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue