diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2016-02-05 10:48:45 +0000 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2016-02-05 10:48:45 +0000 |
commit | d4b2c5ca526b7a4574aeca48236cd410efd74b74 (patch) | |
tree | e34db76f0bbb2e4f975c91eb2ed114ff856acc84 /test/select-common.c | |
parent | 842120bede2ef48f04f8bb3a1c8967d0d7457cac (diff) | |
parent | 761a9a99b72cfd2aa9e4d159c1bbd859cf70bd3f (diff) | |
download | libcss-d4b2c5ca526b7a4574aeca48236cd410efd74b74.tar.gz libcss-d4b2c5ca526b7a4574aeca48236cd410efd74b74.tar.bz2 |
Merge branch 'tlsa/upfront-hints'
Diffstat (limited to 'test/select-common.c')
-rw-r--r-- | test/select-common.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/test/select-common.c b/test/select-common.c index f1762a6..432bd54 100644 --- a/test/select-common.c +++ b/test/select-common.c @@ -156,9 +156,9 @@ static css_error node_is_target(void *pw, void *node, bool *match); static css_error node_is_lang(void *pw, void *node, lwc_string *lang, bool *match); static css_error node_presentational_hint(void *pw, void *node, - uint32_t property, css_hint *hint); + uint32_t *nhints, css_hint **hints); static css_error ua_default_for_property(void *pw, uint32_t property, - css_hint *hint); + css_hint *hints); static css_error compute_font_size(void *pw, const css_hint *parent, css_hint *size); static css_error set_libcss_node_data(void *pw, void *n, @@ -1566,14 +1566,15 @@ css_error node_is_lang(void *pw, void *n, } css_error node_presentational_hint(void *pw, void *node, - uint32_t property, css_hint *hint) + uint32_t *nhints, css_hint **hints) { UNUSED(pw); UNUSED(node); - UNUSED(property); - UNUSED(hint); - return CSS_PROPERTY_NOT_SET; + *nhints = 0; + *hints = NULL; + + return CSS_OK; } css_error ua_default_for_property(void *pw, uint32_t property, css_hint *hint) |