diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2005-01-11 19:39:49 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2005-01-11 19:39:49 +0000 |
commit | 15e08b5252cd92cc2eb7b39aa834674df5d9ed98 (patch) | |
tree | 8da9a06e966607229ff3df50ccc7e82d44f0b7ab /render/layout.c | |
parent | 7623444f4ee316d10f63d738a0476854eb0e8425 (diff) | |
download | netsurf-15e08b5252cd92cc2eb7b39aa834674df5d9ed98.tar.gz netsurf-15e08b5252cd92cc2eb7b39aa834674df5d9ed98.tar.bz2 |
[project @ 2005-01-11 19:39:49 by jmb]
Handle property: inherit; properly
svn path=/import/netsurf/; revision=1441
Diffstat (limited to 'render/layout.c')
-rw-r--r-- | render/layout.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/render/layout.c b/render/layout.c index 36e1302c4..c1d36e1ab 100644 --- a/render/layout.c +++ b/render/layout.c @@ -1451,7 +1451,7 @@ bool layout_table(struct box *table, int available_width, free(xs); return false; } - /* warning: c->descendant_y0 and c->descendant_y1 used as temporary + /* warning: c->descendant_y0 and c->descendant_y1 used as temporary * storage until after vertical alignment is complete */ c->descendant_y0 = c->height; c->descendant_y1 = c->padding[BOTTOM]; @@ -1554,6 +1554,7 @@ bool layout_table(struct box *table, int available_width, c->padding[BOTTOM] -= spare_height; layout_move_children(c, 0, spare_height); break; + case CSS_VERTICAL_ALIGN_NOT_SET: case CSS_VERTICAL_ALIGN_INHERIT: assert(0); break; |