diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-04 17:09:07 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-04 17:09:07 +0000 |
commit | 081c8b365001d9ec9df0f06ba5025dd621c8e4ec (patch) | |
tree | beaa0c8a0243a2cb50e869282565033bcdcba6a6 /include/libcss/select.h | |
parent | a3105d297fa8bb6bc8728d60a21b662d867688ae (diff) | |
download | libcss-081c8b365001d9ec9df0f06ba5025dd621c8e4ec.tar.gz libcss-081c8b365001d9ec9df0f06ba5025dd621c8e4ec.tar.bz2 |
Add callback to make client compute the font size.
Some progress towards computing absolute values.
svn path=/trunk/libcss/; revision=8311
Diffstat (limited to 'include/libcss/select.h')
-rw-r--r-- | include/libcss/select.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/libcss/select.h b/include/libcss/select.h index 391f393..e961275 100644 --- a/include/libcss/select.h +++ b/include/libcss/select.h @@ -67,8 +67,9 @@ typedef struct css_select_handler { css_error (*ua_default_for_property)(void *pw, uint32_t property, css_hint *hint); -// css_error (*ua_font_keyword_to_size)(void *pw, uint32_t keyword, -// css_hint *hint); + + css_error (*compute_font_size)(void *pw, const css_hint *parent, + css_hint *size); } css_select_handler; css_error css_select_ctx_create(css_allocator_fn alloc, void *pw, |