summaryrefslogtreecommitdiff
path: root/src/stylesheet.c
diff options
context:
space:
mode:
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;
}
}