summaryrefslogtreecommitdiff
path: root/src/stylesheet.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-07-08 00:08:09 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-07-08 00:08:09 +0000
commitf8c0d36788d3925101e3e86d65a4221d91dd8866 (patch)
tree359c7c0de2a414f5dc2cfdbc1ea4c748989a1cca /src/stylesheet.c
parentcee938cf367907c0e805efc15fd13c54175c9f98 (diff)
downloadlibcss-f8c0d36788d3925101e3e86d65a4221d91dd8866.tar.gz
libcss-f8c0d36788d3925101e3e86d65a4221d91dd8866.tar.bz2
Fix processing of rules after @import -- previously, they were completely ignored.
svn path=/trunk/libcss/; revision=8386
Diffstat (limited to 'src/stylesheet.c')
-rw-r--r--src/stylesheet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stylesheet.c b/src/stylesheet.c
index 5102031..9a5b9a0 100644
--- a/src/stylesheet.c
+++ b/src/stylesheet.c
@@ -339,6 +339,8 @@ css_error css_stylesheet_register_import(css_stylesheet *parent,
if (r->type == CSS_RULE_IMPORT && i->sheet == NULL) {
i->sheet = import;
+ import->ownerRule = r;
+
return CSS_OK;
}
}