diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2008-10-12 21:22:28 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2008-10-12 21:22:28 +0000 |
commit | b7a1b3999e2b9790bbd070b8e0cdef3abdc6f096 (patch) | |
tree | df39e841ab8524c2ccc8e4d69ca4088e0e4e05b4 /render/box.h | |
parent | c1db0e90cca4a4b7fd7fc9ccbaf679554875bee1 (diff) | |
download | netsurf-b7a1b3999e2b9790bbd070b8e0cdef3abdc6f096.tar.gz netsurf-b7a1b3999e2b9790bbd070b8e0cdef3abdc6f096.tar.bz2 |
Implement percentage heights for block level elements in normal flow, floats and positioned boxes. Percentage min/max-height not yet handled.
svn path=/trunk/netsurf/; revision=5550
Diffstat (limited to 'render/box.h')
-rw-r--r-- | render/box.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/render/box.h b/render/box.h index c1cce449f..c66767225 100644 --- a/render/box.h +++ b/render/box.h @@ -190,7 +190,7 @@ struct box { unsigned int start_column; /**< Start column for TABLE_CELL only. */ bool printed; /** Whether this box has already been printed*/ - + struct box *next; /**< Next sibling box, or 0. */ struct box *prev; /**< Previous sibling box, or 0. */ struct box *children; /**< First child box, or 0. */ @@ -207,6 +207,8 @@ struct box { struct box *float_children; /** Next sibling float box. */ struct box *next_float; + /** If box is a float, points to box's containing block */ + struct box *float_container; /** Level below which subsequent floats must be cleared. * This is used only for boxes with float_children */ int clear_level; |