summaryrefslogtreecommitdiff
path: root/render/box.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-04-22 21:57:18 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-04-22 21:57:18 +0000
commit8d2bb4bd3a5eacbc355fd7ce98c8865f0bcb44e0 (patch)
treeee2a58bdda328f447c756f19f5b753874a4afe32 /render/box.h
parent9fef803d1a1386d75c6e087f8e0cf5cc52874219 (diff)
downloadnetsurf-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.h3
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 */