diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2015-03-07 21:41:28 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2016-11-19 14:30:07 +0000 |
commit | fac1ad8641848a3d747b6c495cf443ccc29c077e (patch) | |
tree | 4b34bfe4c32cb6033958a8bae7a740492746a4df /include | |
parent | 60812fc682b8764c93020124bb43e7972f64cb73 (diff) | |
download | libcss-fac1ad8641848a3d747b6c495cf443ccc29c077e.tar.gz libcss-fac1ad8641848a3d747b6c495cf443ccc29c077e.tar.bz2 |
After composing styles, intern the result in the style sharing arena.
Note this changes the API.
Selection tests updated.
Diffstat (limited to 'include')
-rw-r--r-- | include/libcss/computed.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libcss/computed.h b/include/libcss/computed.h index 3470da8..0009267 100644 --- a/include/libcss/computed.h +++ b/include/libcss/computed.h @@ -83,12 +83,12 @@ 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_computed_style *child, css_error (*compute_font_size)(void *pw, const struct css_hint *parent, struct css_hint *size), void *pw, - css_computed_style *result); + css_computed_style **result); /****************************************************************************** * Property accessors below here * |