diff options
author | James Bursa <james@netsurf-browser.org> | 2003-09-08 22:47:11 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2003-09-08 22:47:11 +0000 |
commit | c05f00209fcc376203125fdace01372632592c42 (patch) | |
tree | 14c424413edc5a5afebc03b549c0cee530c3a100 /render/html.c | |
parent | 74b71f82954f72aa47eaaca497f58c1815c5e3db (diff) | |
download | netsurf-c05f00209fcc376203125fdace01372632592c42.tar.gz netsurf-c05f00209fcc376203125fdace01372632592c42.tar.bz2 |
[project @ 2003-09-08 22:47:11 by bursa]
Box width fixes.
svn path=/import/netsurf/; revision=272
Diffstat (limited to 'render/html.c')
-rw-r--r-- | render/html.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/render/html.c b/render/html.c index c2b3e2b11..443d4cd7d 100644 --- a/render/html.c +++ b/render/html.c @@ -419,8 +419,10 @@ void html_object_callback(content_msg msg, struct content *object, b->min_width = object->width; if (b->max_width < object->width) b->max_width = object->width; - for (b = b->parent; - b != 0 && b->max_width != UNKNOWN_MAX_WIDTH; + for (b = b->parent; b != 0 && + (b->type == BOX_TABLE_ROW_GROUP || + b->type == BOX_TABLE_ROW || + b->max_width != UNKNOWN_MAX_WIDTH); b = b->parent) b->max_width = UNKNOWN_MAX_WIDTH; } |