summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/box.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/render/box.c b/render/box.c
index 5f9262e0c..9d30bbfc5 100644
--- a/render/box.c
+++ b/render/box.c
@@ -194,6 +194,7 @@ struct box * box_create(struct css_style * style,
box->object_state = 0;
#endif
box->x = box->y = 0;
+ box->width = box->height = 0;
return box;
}