summaryrefslogtreecommitdiff
path: root/render/box.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/box.c')
-rw-r--r--render/box.c2
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;
}