From a57c4f03cc819c7eb2d5727157870e2aee947537 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 26 Jun 2009 19:49:46 +0000 Subject: Support for parsing inline styles svn path=/trunk/libcss/; revision=8024 --- include/libcss/select.h | 1 + include/libcss/stylesheet.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/libcss/select.h b/include/libcss/select.h index ea67d25..3cdaf3c 100644 --- a/include/libcss/select.h +++ b/include/libcss/select.h @@ -83,6 +83,7 @@ css_error css_select_ctx_get_sheet(css_select_ctx *ctx, uint32_t index, css_error css_select_style(css_select_ctx *ctx, void *node, uint32_t pseudo_element, uint64_t media, + const css_stylesheet *inline_style, css_computed_style *result, css_select_handler *handler, void *pw); diff --git a/include/libcss/stylesheet.h b/include/libcss/stylesheet.h index 3ce25d5..df95e17 100644 --- a/include/libcss/stylesheet.h +++ b/include/libcss/stylesheet.h @@ -14,7 +14,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, bool allow_quirks, - lwc_context *dict, css_allocator_fn alloc, void *alloc_pw, + bool inline_style, lwc_context *dict, + css_allocator_fn alloc, void *alloc_pw, css_stylesheet **stylesheet); css_error css_stylesheet_destroy(css_stylesheet *sheet); -- cgit v1.2.3