summaryrefslogtreecommitdiff
path: root/include/libcss/select.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-07-17 16:33:25 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-07-17 16:33:25 +0000
commit6792e16519fea61050cd5979c0a42d2a6b2f5bae (patch)
tree197abfe00c0cd7634af32bddb9f1bf5378c86548 /include/libcss/select.h
parentfdd5d5f6a27e1f072bd8ba0735c4c23c2456b8da (diff)
downloadlibcss-6792e16519fea61050cd5979c0a42d2a6b2f5bae.tar.gz
libcss-6792e16519fea61050cd5979c0a42d2a6b2f5bae.tar.bz2
Change mechanism for handling case sensitivity of element names. Now has another selection handler callback for this.
Change selector hash to use an ASCII case-insensitive hash function. svn path=/trunk/libcss/; revision=8602
Diffstat (limited to 'include/libcss/select.h')
-rw-r--r--include/libcss/select.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libcss/select.h b/include/libcss/select.h
index 5eaf120..bd85eaa 100644
--- a/include/libcss/select.h
+++ b/include/libcss/select.h
@@ -37,6 +37,8 @@ typedef struct css_select_handler {
css_error (*parent_node)(void *pw, void *node, void **parent);
css_error (*sibling_node)(void *pw, void *node, void **sibling);
+ css_error (*node_has_name)(void *pw, void *node,
+ lwc_string *name, bool *match);
css_error (*node_has_class)(void *pw, void *node,
lwc_string *name, bool *match);
css_error (*node_has_id)(void *pw, void *node,