diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2008-03-21 01:04:09 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2008-03-21 01:04:09 +0000 |
commit | 19c6a63174fcb1c6d20e819e5071844da8e05981 (patch) | |
tree | 5f0da6bf906f2a85aeb83a7508500ff00ea8f545 /render | |
parent | c1efc9c27596bc5e745f2b09bcc4ea54b12c2f91 (diff) | |
download | netsurf-19c6a63174fcb1c6d20e819e5071844da8e05981.tar.gz netsurf-19c6a63174fcb1c6d20e819e5071844da8e05981.tar.bz2 |
CSS min/max-height overrides height.
svn path=/trunk/netsurf/; revision=4008
Diffstat (limited to 'render')
-rw-r--r-- | render/layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/render/layout.c b/render/layout.c index 83ea9ca64..8a6b856c8 100644 --- a/render/layout.c +++ b/render/layout.c @@ -463,10 +463,10 @@ bool layout_block_context(struct box *block, struct content *content) if (block->height == AUTO) { block->height = cy - block->padding[TOP]; - layout_apply_minmax_height(block); if (block->type == BOX_BLOCK) layout_block_add_scrollbar(block, BOTTOM); } + layout_apply_minmax_height(block); return true; } |