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:
Michael Drake 2010-08-30 22:09:49 +00:00
parent 93873344dd
commit ece31d1358
1 changed files with 1 additions and 1 deletions

View File

@ -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() */
}