diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-02-09 16:24:13 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-02-09 16:24:13 +0000 |
commit | 85aeb5b9d3f96161fb3be021c6aee135afde15f7 (patch) | |
tree | 03363fac1b07b56cc70d123ed22179f900864c14 /include/libcss/select.h | |
parent | 8c075f16ec633670ab75c865dcb74f78160d162e (diff) | |
download | libcss-85aeb5b9d3f96161fb3be021c6aee135afde15f7.tar.gz libcss-85aeb5b9d3f96161fb3be021c6aee135afde15f7.tar.bz2 |
Match selector chains. Universal selectors will probably break this.
svn path=/trunk/libcss/; revision=6402
Diffstat (limited to 'include/libcss/select.h')
-rw-r--r-- | include/libcss/select.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/libcss/select.h b/include/libcss/select.h index ab28b3b..90f72a9 100644 --- a/include/libcss/select.h +++ b/include/libcss/select.h @@ -16,7 +16,15 @@ typedef struct css_select_handler { css_error (*node_name)(void *pw, void *node, const uint8_t **name, size_t *len); - + css_error (*ancestor_node)(void *pw, void *node, + const uint8_t *name, size_t len, + void **ancestor); + css_error (*parent_node)(void *pw, void *node, + const uint8_t *name, size_t len, + void **parent); + css_error (*sibling_node)(void *pw, void *node, + const uint8_t *name, size_t len, + void **sibling); } css_select_handler; css_error css_select_ctx_create(css_alloc alloc, void *pw, |