diff options
Diffstat (limited to 'include/libcss/select.h')
-rw-r--r-- | include/libcss/select.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/libcss/select.h b/include/libcss/select.h index ca57456..bfaf531 100644 --- a/include/libcss/select.h +++ b/include/libcss/select.h @@ -18,6 +18,7 @@ extern "C" #include <libcss/hint.h> #include <libcss/types.h> #include <libcss/computed.h> +#include <libcss/unit.h> typedef enum css_pseudo_element { CSS_PSEUDO_ELEMENT_NONE = 0, @@ -123,9 +124,6 @@ typedef struct css_select_handler { css_error (*ua_default_for_property)(void *pw, uint32_t property, css_hint *hint); - css_error (*compute_font_size)(void *pw, const css_hint *parent, - css_hint *size); - /** * Set libcss_node_data on a DOM node. * @@ -221,6 +219,7 @@ css_error css_select_default_style(css_select_ctx *ctx, css_select_handler *handler, void *pw, css_computed_style **style); css_error css_select_style(css_select_ctx *ctx, void *node, + const css_unit_len_ctx *unit_len_ctx, const css_media *media, const css_stylesheet *inline_style, css_select_handler *handler, void *pw, css_select_results **result); |