diff options
author | James Bursa <james@netsurf-browser.org> | 2005-07-02 18:17:51 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2005-07-02 18:17:51 +0000 |
commit | 9b78daf135d7fa555990454c219649e4d54157d2 (patch) | |
tree | d5d8c1d773d0ef51afbe055dcff60607821f7a9c /render/layout.h | |
parent | 894ba8b6230ffa57e1a5037adbd1b246a9a877da (diff) | |
download | netsurf-9b78daf135d7fa555990454c219649e4d54157d2.tar.gz netsurf-9b78daf135d7fa555990454c219649e4d54157d2.tar.bz2 |
[project @ 2005-07-02 18:17:51 by bursa]
Rewrite calculation of box minimum and maximum widths to improve layout of many pages. Move calculation of column types and border collapsing to box tree normalising stage, since they are layout independent. Add window height parameter to layout and make <html> and <body> at least window height.
svn path=/import/netsurf/; revision=1777
Diffstat (limited to 'render/layout.h')
-rw-r--r-- | render/layout.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/render/layout.h b/render/layout.h index c56b42d9c..f37f8fd7c 100644 --- a/render/layout.h +++ b/render/layout.h @@ -20,7 +20,7 @@ struct box; -bool layout_document(struct content *content, int width); +bool layout_document(struct content *content, int width, int height); bool layout_block_context(struct box *block, struct content *content); bool layout_inline_container(struct box *box, int width, struct box *cont, int cx, int cy, struct content *content); |