From 05e8696fc444ffd4d39e9b1138e5a99a56a4680e Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sun, 20 Apr 2008 15:49:25 +0000 Subject: Improve handling of absolutely positioned table cells. Corrects positioning of "Weather" box contents on BBC homepage. svn path=/trunk/netsurf/; revision=4100 --- render/box.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'render/box.c') diff --git a/render/box.c b/render/box.c index 9aadcda86..cddcb022b 100644 --- a/render/box.c +++ b/render/box.c @@ -594,10 +594,13 @@ void box_dump(FILE *stream, struct box *box, unsigned int depth) if (box->col) { fprintf(stream, " (columns"); for (i = 0; i != box->columns; i++) - fprintf(stream, " (%s %i %i %i)", + fprintf(stream, " (%s %s %i %i %i)", ((const char *[]) {"UNKNOWN", "FIXED", "AUTO", "PERCENT", "RELATIVE"}) [box->col[i].type], + ((const char *[]) {"normal", + "positioned"}) + [box->col[i].positioned], box->col[i].width, box->col[i].min, box->col[i].max); fprintf(stream, ")"); -- cgit v1.2.3