diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-22 00:23:55 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-22 00:23:55 +0000 |
commit | c58f7a4ff983d282488b7b3413dd3dd572a84ad1 (patch) | |
tree | f28580f30fc8ea91190f1af032bf90372e17479b /include/libcss/select.h | |
parent | 2caf5a7505210eadd95cd35ad34600275aafcd65 (diff) | |
download | libcss-c58f7a4ff983d282488b7b3413dd3dd572a84ad1.tar.gz libcss-c58f7a4ff983d282488b7b3413dd3dd572a84ad1.tar.bz2 |
Sketch out something for presentational hints.
The client will have to maintain some state to be able to calculate this struct for every node selection, but that shouldn't be overly onerous.
Also, the mess surrounding centering can only be sensibly solved through the addition of a new, prefixed, property.
svn path=/trunk/libcss/; revision=6816
Diffstat (limited to 'include/libcss/select.h')
-rw-r--r-- | include/libcss/select.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libcss/select.h b/include/libcss/select.h index 6d774ec..44befcd 100644 --- a/include/libcss/select.h +++ b/include/libcss/select.h @@ -12,6 +12,7 @@ #include <libcss/errors.h> #include <libcss/functypes.h> +#include <libcss/hint.h> #include <libcss/types.h> enum css_pseudo_element { @@ -79,7 +80,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, - css_computed_style *result, + const css_hint *hints, css_computed_style *result, css_select_handler *handler, void *pw); #endif |