From 90e05332d329663b9616bae2792b7cb36d03e13f Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 15 Feb 2009 01:59:58 +0000 Subject: Quirks mode parsing svn path=/trunk/libcss/; revision=6519 --- include/libcss/stylesheet.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/libcss/stylesheet.h') 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); -- cgit v1.2.3