From 51af46fde6b5885d32eab0812189eb8f5e270abf Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 16 Jul 2004 20:26:49 +0000 Subject: [project @ 2004-07-16 20:26:49 by jmb] Preliminary overflow support. This also goes some way to making the horizontal scrollbar work. svn path=/import/netsurf/; revision=1088 --- render/box.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'render/box.c') diff --git a/render/box.c b/render/box.c index bb2ac8a44..29d2bfdb6 100644 --- a/render/box.c +++ b/render/box.c @@ -225,6 +225,8 @@ struct box * box_create(struct css_style * style, box->height = 0; for (i = 0; i != 4; i++) box->margin[i] = box->padding[i] = box->border[i] = 0; + box->descendant_x0 = box->descendant_y0 = 0; + box->descendant_x1 = box->descendant_y1 = 0; return box; } -- cgit v1.2.3