diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-04-22 21:57:18 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-04-22 21:57:18 +0000 |
commit | 8d2bb4bd3a5eacbc355fd7ce98c8865f0bcb44e0 (patch) | |
tree | ee2a58bdda328f447c756f19f5b753874a4afe32 /render/box.h | |
parent | 9fef803d1a1386d75c6e087f8e0cf5cc52874219 (diff) | |
download | netsurf-8d2bb4bd3a5eacbc355fd7ce98c8865f0bcb44e0.tar.gz netsurf-8d2bb4bd3a5eacbc355fd7ce98c8865f0bcb44e0.tar.bz2 |
Change how blocks are positioned vertically (esp. margin handling).
svn path=/trunk/netsurf/; revision=12235
Diffstat (limited to 'render/box.h')
-rw-r--r-- | render/box.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/render/box.h b/render/box.h index 4c87d1c52..7a63203e8 100644 --- a/render/box.h +++ b/render/box.h @@ -124,7 +124,8 @@ typedef enum { PRE_STRIP = 1 << 3, /* PRE tag needing leading newline stripped */ CLONE = 1 << 4, /* continuation of previous box from wrapping */ MEASURED = 1 << 5, /* text box width has been measured */ - HAS_HEIGHT = 1 << 6 /* box has height */ + HAS_HEIGHT = 1 << 6, /* box has height (perhaps due to children) */ + MAKE_HEIGHT = 1 << 7 /* box causes its own height */ } box_flags; /* Sides of a box */ |