From a0d7e79c8c1548e9f9747b00b321a09511e3d101 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 12 Mar 2011 18:44:43 +0000 Subject: Allow box margins to collapse through zero-height boxes. svn path=/trunk/netsurf/; revision=11981 --- 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 144b4a74a..4c87d1c52 100644 --- a/render/box.h +++ b/render/box.h @@ -123,7 +123,8 @@ typedef enum { PRINTED = 1 << 2, /* box has already been printed */ 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 */ + MEASURED = 1 << 5, /* text box width has been measured */ + HAS_HEIGHT = 1 << 6 /* box has height */ } box_flags; /* Sides of a box */ -- cgit v1.2.3