From e93271501092ea328e2163a4d3c4f348e48ca572 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 11 Jun 2004 12:51:40 +0000 Subject: [project @ 2004-06-11 12:51:40 by jmb] Fix for crash caused by inline style attributes specifying background images. svn path=/import/netsurf/; revision=961 --- render/box.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'render') 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); } -- cgit v1.2.3