From b2486edc5ad98125b9877a56251e8dd55dbb075c Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sun, 28 Sep 2008 10:00:32 +0000 Subject: Fix block level replaced element height regression. svn path=/trunk/netsurf/; revision=5450 --- render/layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 * -- cgit v1.2.3