diff options
Diffstat (limited to 'include/libcss')
-rw-r--r-- | include/libcss/stylesheet.h | 6 |
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); |