From 8d2bb4bd3a5eacbc355fd7ce98c8865f0bcb44e0 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 22 Apr 2011 21:57:18 +0000 Subject: Change how blocks are positioned vertically (esp. margin handling). svn path=/trunk/netsurf/; revision=12235 --- render/box.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'render/box.h') 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 */ -- cgit v1.2.3