From 14c30d64a6fff1fcb38a28c0226d5bc683c99342 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Wed, 10 Oct 2007 20:33:15 +0000 Subject: Remove legacy code. svn path=/trunk/netsurf/; revision=3629 --- render/layout.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'render/layout.c') diff --git a/render/layout.c b/render/layout.c index 234a0a43a..bda9bb58e 100644 --- a/render/layout.c +++ b/render/layout.c @@ -2074,14 +2074,7 @@ bool layout_table(struct box *table, int available_width, row_group = row_group->next) { int row_group_height = 0; for (row = row_group->children; row; row = row->next) { - /* some sites use height="1" or similar - * to attempt to make cells as small as - * possible, so treat it as a minimum */ - int row_height = (int) css_len2px(&row->style-> - height.length, row->style); - /* we can't use this value currently as it is always - * the height of a line of text in the current style */ - row_height = 0; + int row_height = 0; for (c = row->children; c; c = c->next) { assert(c->style); c->width = xs[c->start_column + c->columns] - -- cgit v1.2.3