Fix block level replaced element height regression.

svn path=/trunk/netsurf/; revision=5450
This commit is contained in:
Michael Drake 2008-09-28 10:00:32 +00:00
parent 907711f25b
commit b2486edc5a
1 changed files with 1 additions and 1 deletions

View File

@ -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 */ /* block-level replaced element, see 10.3.4 and 10.6.2 */
if (width == AUTO && height == AUTO) { if (width == AUTO && height == AUTO) {
width = box->object->width; width = box->object->width;
width = box->object->width; height = box->object->height;
} else if (width == AUTO) { } else if (width == AUTO) {
if (box->object->height) if (box->object->height)
width = box->object->width * width = box->object->width *