diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2008-04-23 18:49:11 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2008-04-23 18:49:11 +0000 |
commit | fc4e39f5b89e36c47cc4ebcf9df7f24511baaeff (patch) | |
tree | 35c6b22d9459ce6d93d92b4a4b5009b251028362 /render/box.h | |
parent | e6e0fa0b326ed8b14e3944e93b9fe6f1d594d6d3 (diff) | |
download | netsurf-fc4e39f5b89e36c47cc4ebcf9df7f24511baaeff.tar.gz netsurf-fc4e39f5b89e36c47cc4ebcf9df7f24511baaeff.tar.bz2 |
Make floats that follow a cleared float heed the clear. Fixes position of search form on BBC homepage.
svn path=/trunk/netsurf/; revision=4104
Diffstat (limited to 'render/box.h')
-rw-r--r-- | render/box.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/render/box.h b/render/box.h index ad02ccc55..f4c9cfe2d 100644 --- a/render/box.h +++ b/render/box.h @@ -205,6 +205,9 @@ struct box { struct box *float_children; /** Next sibling float box. */ struct box *next_float; + /** Level below which subsequent floats must be cleared. + * This is used only for boxes with float_children */ + int clear_level; /** List marker box if this is a list-item, or 0. */ struct box *list_marker; |