diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2004-07-16 20:26:49 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2004-07-16 20:26:49 +0000 |
commit | 51af46fde6b5885d32eab0812189eb8f5e270abf (patch) | |
tree | 68d72bf6dfb05988088c3bda1664db5ac1bb4c3b /render/box.c | |
parent | 6560a2ae5f68831bec809e9ee847ac0e36ff011d (diff) | |
download | netsurf-51af46fde6b5885d32eab0812189eb8f5e270abf.tar.gz netsurf-51af46fde6b5885d32eab0812189eb8f5e270abf.tar.bz2 |
[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
Diffstat (limited to 'render/box.c')
-rw-r--r-- | render/box.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |