Fix block level replaced element height regression.
svn path=/trunk/netsurf/; revision=5450
This commit is contained in:
parent
907711f25b
commit
b2486edc5a
|
@ -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 *
|
||||||
|
|
Loading…
Reference in New Issue