summaryrefslogtreecommitdiff
path: root/render/layout.c
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2007-10-10 20:33:15 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2007-10-10 20:33:15 +0000
commit14c30d64a6fff1fcb38a28c0226d5bc683c99342 (patch)
tree3421efb5b3529a7cc67b01945be9d54b2625d0b8 /render/layout.c
parent693051471b79cfdf5def846f27b372e464271ab1 (diff)
downloadnetsurf-14c30d64a6fff1fcb38a28c0226d5bc683c99342.tar.gz
netsurf-14c30d64a6fff1fcb38a28c0226d5bc683c99342.tar.bz2
Remove legacy code.
svn path=/trunk/netsurf/; revision=3629
Diffstat (limited to 'render/layout.c')
-rw-r--r--render/layout.c9
1 files changed, 1 insertions, 8 deletions
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] -