diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-08 00:08:09 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-08 00:08:09 +0000 |
commit | f8c0d36788d3925101e3e86d65a4221d91dd8866 (patch) | |
tree | 359c7c0de2a414f5dc2cfdbc1ea4c748989a1cca /src/stylesheet.c | |
parent | cee938cf367907c0e805efc15fd13c54175c9f98 (diff) | |
download | libcss-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.c | 2 |
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; } } |