From 9be22ab5908a50fef1f53c366fd68204a15f939c Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 5 Mar 2011 22:18:06 +0000 Subject: Make sure the last clone box for a wrapped text is properly measuered. svn path=/trunk/netsurf/; revision=11920 --- 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 522aeafd1..7d7cd84a6 100644 --- a/render/box.h +++ b/render/box.h @@ -122,7 +122,8 @@ typedef enum { STYLE_OWNED = 1 << 1, /* style is owned by this box */ 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 */ + CLONE = 1 << 4, /* continuation of previous box from wrapping */ + MEASURED = 1 << 5 /* text box width has been measured */ } box_flags; /* Sides of a box */ -- cgit v1.2.3