summaryrefslogtreecommitdiff
path: root/render/box.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2008-04-20 15:49:25 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2008-04-20 15:49:25 +0000
commit05e8696fc444ffd4d39e9b1138e5a99a56a4680e (patch)
tree8c2849fabce4a00e2b93eded8bb393313d1b1f43 /render/box.c
parentc5da2c906ce9161921d6d3145023ee1ef773638e (diff)
downloadnetsurf-05e8696fc444ffd4d39e9b1138e5a99a56a4680e.tar.gz
netsurf-05e8696fc444ffd4d39e9b1138e5a99a56a4680e.tar.bz2
Improve handling of absolutely positioned table cells. Corrects positioning of "Weather" box contents on BBC homepage.
svn path=/trunk/netsurf/; revision=4100
Diffstat (limited to 'render/box.c')
-rw-r--r--render/box.c5
1 files changed, 4 insertions, 1 deletions
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, ")");