summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-07-12 11:34:22 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-07-12 11:34:22 +0000
commita61e4fc15ca36c3fd699043499ddadc34fc11ca9 (patch)
tree008fad36a920e6d75ce2ae86381ea23a3771ef61 /include
parented82a563518eef76a096c14c90ab78053e85e93f (diff)
downloadlibcss-a61e4fc15ca36c3fd699043499ddadc34fc11ca9.tar.gz
libcss-a61e4fc15ca36c3fd699043499ddadc34fc11ca9.tar.bz2
Provide some API to allow retrieval of an Initial style
svn path=/trunk/libcss/; revision=8468
Diffstat (limited to 'include')
-rw-r--r--include/libcss/computed.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libcss/computed.h b/include/libcss/computed.h
index 9d7a073..d754bae 100644
--- a/include/libcss/computed.h
+++ b/include/libcss/computed.h
@@ -16,6 +16,7 @@
#include <libcss/types.h>
struct css_hint;
+struct css_select_handler;
enum css_computed_content_type {
CSS_COMPUTED_CONTENT_NONE = 0,
@@ -333,6 +334,9 @@ css_error css_computed_style_create(css_allocator_fn alloc, void *pw,
css_computed_style **result);
css_error css_computed_style_destroy(css_computed_style *style);
+css_error css_computed_style_initialise(css_computed_style *style,
+ struct css_select_handler *handler, void *pw);
+
css_error css_computed_style_compose(const css_computed_style *parent,
const css_computed_style *child,
css_error (*compute_font_size)(void *pw,