diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-01-14 11:34:45 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-01-14 11:34:45 +0000 |
commit | be460d4477d8955063bf834377d8e934cc507a3d (patch) | |
tree | f3bf0f79d709950b515266e4bfdb9556de9973af /src/stylesheet.h | |
parent | 48ec2d9eab392794845b666f7b261e4db38fd1e9 (diff) | |
download | libcss-be460d4477d8955063bf834377d8e934cc507a3d.tar.gz libcss-be460d4477d8955063bf834377d8e934cc507a3d.tar.bz2 |
Make @import actually create a rule and attempt some kind of fetch logic.
There's still a bunch of outstanding functionality here (like URL resolution and media list parsing).
Also, there's currently no way of telling the client to stop fetching data for a stylesheet (and, more importantly, not to attempt to access the stylesheet again as it's about to be destroyed)
svn path=/trunk/libcss/; revision=6062
Diffstat (limited to 'src/stylesheet.h')
-rw-r--r-- | src/stylesheet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stylesheet.h b/src/stylesheet.h index ff32d97..a7b1cfd 100644 --- a/src/stylesheet.h +++ b/src/stylesheet.h @@ -209,6 +209,9 @@ css_error css_stylesheet_rule_append_style(css_stylesheet *sheet, css_error css_stylesheet_rule_set_charset(css_stylesheet *sheet, css_rule *rule, const parserutils_hash_entry *charset); +css_error css_stylesheet_rule_set_import(css_stylesheet *sheet, + css_rule *rule, css_stylesheet *import); + /** \todo registering other rule-type data with css_rules */ css_error css_stylesheet_add_rule(css_stylesheet *sheet, css_rule *rule); |