summaryrefslogtreecommitdiff
path: root/include/libcss/stylesheet.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-02-15 01:59:58 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-02-15 01:59:58 +0000
commit90e05332d329663b9616bae2792b7cb36d03e13f (patch)
tree9ce4334e8293e546ee6fb95730465dd18723c4d6 /include/libcss/stylesheet.h
parent59cfdab5159981b97cd5b3b3cfd1d22f0600f5db (diff)
downloadlibcss-90e05332d329663b9616bae2792b7cb36d03e13f.tar.gz
libcss-90e05332d329663b9616bae2792b7cb36d03e13f.tar.bz2
Quirks mode parsing
svn path=/trunk/libcss/; revision=6519
Diffstat (limited to 'include/libcss/stylesheet.h')
-rw-r--r--include/libcss/stylesheet.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/libcss/stylesheet.h b/include/libcss/stylesheet.h
index dd4bc81..3ce25d5 100644
--- a/include/libcss/stylesheet.h
+++ b/include/libcss/stylesheet.h
@@ -13,8 +13,8 @@
css_error css_stylesheet_create(css_language_level level,
const char *charset, const char *url, const char *title,
- css_origin origin, uint64_t media, lwc_context *dict,
- css_allocator_fn alloc, void *alloc_pw,
+ css_origin origin, uint64_t media, bool allow_quirks,
+ lwc_context *dict, css_allocator_fn alloc, void *alloc_pw,
css_stylesheet **stylesheet);
css_error css_stylesheet_destroy(css_stylesheet *sheet);
@@ -33,6 +33,8 @@ css_error css_stylesheet_get_url(css_stylesheet *sheet, const char **url);
css_error css_stylesheet_get_title(css_stylesheet *sheet, const char **title);
css_error css_stylesheet_get_origin(css_stylesheet *sheet, css_origin *origin);
css_error css_stylesheet_get_media(css_stylesheet *sheet, uint64_t *media);
+css_error css_stylesheet_quirks_allowed(css_stylesheet *sheet, bool *allowed);
+css_error css_stylesheet_used_quirks(css_stylesheet *sheet, bool *quirks);
css_error css_stylesheet_get_disabled(css_stylesheet *sheet, bool *disabled);
css_error css_stylesheet_set_disabled(css_stylesheet *sheet, bool disabled);