summaryrefslogtreecommitdiff
path: root/render/box.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-03-12 18:44:43 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-03-12 18:44:43 +0000
commita0d7e79c8c1548e9f9747b00b321a09511e3d101 (patch)
treeb6c93caaf728e39bd5b89a1d483174499e956ded /render/box.h
parentffd2e6095d7b1510a4ade5045b4357e1ca7e9921 (diff)
downloadnetsurf-a0d7e79c8c1548e9f9747b00b321a09511e3d101.tar.gz
netsurf-a0d7e79c8c1548e9f9747b00b321a09511e3d101.tar.bz2
Allow box margins to collapse through zero-height boxes.
svn path=/trunk/netsurf/; revision=11981
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 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 */