summaryrefslogtreecommitdiff
path: root/render/layout.c
diff options
context:
space:
mode:
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] -