From c05f00209fcc376203125fdace01372632592c42 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Mon, 8 Sep 2003 22:47:11 +0000 Subject: [project @ 2003-09-08 22:47:11 by bursa] Box width fixes. svn path=/import/netsurf/; revision=272 --- render/layout.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'render/layout.c') diff --git a/render/layout.c b/render/layout.c index 4e6427b9a..f428ae36d 100644 --- a/render/layout.c +++ b/render/layout.c @@ -237,6 +237,8 @@ unsigned long layout_block_children(struct box * box, unsigned long width, struc c->y = y; layout_node(c, width, cont, cx, cy + y); y = c->y + c->height; + if (box->width < c->width) + box->width = c->width; } return y; } -- cgit v1.2.3