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

netsurf at semichrome.net netsurf at semichrome.net
Mon Sep 22 12:29:40 BST 2008


Author: tlsa
Date: Mon Sep 22 06:29:39 2008
New Revision: 5395

URL: http://source.netsurf-browser.org?rev=5395&view=rev
Log:
Fix for positioning of inlines when a float is forced below them.

Modified:
    trunk/netsurf/render/layout.c

Modified: trunk/netsurf/render/layout.c
URL: http://source.netsurf-browser.org/trunk/netsurf/render/layout.c?rev=5395&r1=5394&r2=5395&view=diff
==============================================================================
--- trunk/netsurf/render/layout.c (original)
+++ trunk/netsurf/render/layout.c Mon Sep 22 06:29:39 2008
@@ -1640,11 +1640,9 @@
 					 * floats */
 					if (b->type == BOX_FLOAT_LEFT) {
 						b->x = cx;
-						x0 += b->width;
 						left = b;
 					} else {
 						b->x = cx + *width - b->width;
-						x1 -= b->width;
 						right = b;
 					}
 					fy = layout_clear(cont->float_children,




More information about the netsurf-commits mailing list