diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2010-08-30 22:09:49 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2010-08-30 22:09:49 +0000 |
commit | ece31d13589ee9d6d36ace5bd2b8642a95375c7b (patch) | |
tree | 7abaf646edb7fbced027992483c8615a7d1103df | |
parent | 93873344dde468ef9e20aa6634b4112a1fefebde (diff) | |
download | netsurf-ece31d13589ee9d6d36ace5bd2b8642a95375c7b.tar.gz netsurf-ece31d13589ee9d6d36ace5bd2b8642a95375c7b.tar.bz2 |
Don't special case height to content height when object's content is HTML.
svn path=/trunk/netsurf/; revision=10729
-rw-r--r-- | render/layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/render/layout.c b/render/layout.c index 6107544de..0840c8e7d 100644 --- a/render/layout.c +++ b/render/layout.c @@ -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() */ } |