summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2008-09-28 10:00:32 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2008-09-28 10:00:32 +0000
commitb2486edc5ad98125b9877a56251e8dd55dbb075c (patch)
tree22f889414068757cc60750aa85282323b7ad9a91 /render
parent907711f25baa76f23c285e07d26fba2e080c7c53 (diff)
downloadnetsurf-b2486edc5ad98125b9877a56251e8dd55dbb075c.tar.gz
netsurf-b2486edc5ad98125b9877a56251e8dd55dbb075c.tar.bz2
Fix block level replaced element height regression.
svn path=/trunk/netsurf/; revision=5450
Diffstat (limited to 'render')
-rw-r--r--render/layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/layout.c b/render/layout.c
index 5109b8c6a..08f6ee260 100644
--- a/render/layout.c
+++ b/render/layout.c
@@ -694,7 +694,7 @@ void layout_block_find_dimensions(int available_width, struct box *box)
/* block-level replaced element, see 10.3.4 and 10.6.2 */
if (width == AUTO && height == AUTO) {
width = box->object->width;
- width = box->object->width;
+ height = box->object->height;
} else if (width == AUTO) {
if (box->object->height)
width = box->object->width *