r5450 tlsa - /trunk/netsurf/render/layout.c

netsurf at semichrome.net netsurf at semichrome.net
Sun Sep 28 11:00:33 BST 2008


Author: tlsa
Date: Sun Sep 28 05:00:32 2008
New Revision: 5450

URL: http://source.netsurf-browser.org?rev=5450&view=rev
Log:
Fix block level replaced element height regression.

Modified:
    trunk/netsurf/render/layout.c

Modified: trunk/netsurf/render/layout.c
URL: http://source.netsurf-browser.org/trunk/netsurf/render/layout.c?rev=5450&r1=5449&r2=5450&view=diff
==============================================================================
--- trunk/netsurf/render/layout.c (original)
+++ trunk/netsurf/render/layout.c Sun Sep 28 05:00:32 2008
@@ -694,7 +694,7 @@
 		/* 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 *




More information about the netsurf-commits mailing list