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, 1 insertions, 1 deletions
diff --git a/render/box.c b/render/box.c
index 32c5209eb..23975e6ec 100644
--- a/render/box.c
+++ b/render/box.c
@@ -734,7 +734,7 @@ struct css_style * box_get_style(struct content *c,
if ((s = (char *) xmlGetProp(n, (const xmlChar *) "style"))) {
struct css_style astyle;
memcpy(&astyle, &css_empty_style, sizeof(struct css_style));
- css_parse_property_list(&astyle, s);
+ css_parse_property_list(c, &astyle, s);
css_cascade(style, &astyle);
xmlFree(s);
}