diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-12-07 15:08:21 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-12-07 15:08:21 +0000 |
commit | e3372335ec1628e1d6ef1a4fd63b11bb47f2e0e6 (patch) | |
tree | 288253f6dc28adca29b197dd450be4ba7b1631bc /src/select/hash.h | |
parent | 8af91a420df85e25f2b80c489154cb3df448e2e4 (diff) | |
download | libcss-e3372335ec1628e1d6ef1a4fd63b11bb47f2e0e6.tar.gz libcss-e3372335ec1628e1d6ef1a4fd63b11bb47f2e0e6.tar.bz2 |
Just match against universal string intern instead of checking strings length/data.
Diffstat (limited to 'src/select/hash.h')
-rw-r--r-- | src/select/hash.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/select/hash.h b/src/select/hash.h index 2217cbd..f572048 100644 --- a/src/select/hash.h +++ b/src/select/hash.h @@ -20,9 +20,10 @@ struct css_selector; typedef struct css_selector_hash css_selector_hash; struct css_hash_selection_requirments { - css_qname qname; /* Element name, or universal '*' */ + css_qname qname; /* Element name, or universal "*" */ lwc_string *class; /* Name of class, or NULL */ lwc_string *id; /* Name of id, or NULL */ + lwc_string *uni; /* Universal element string "*" */ uint64_t media; /* Media type(s) we're selecting for */ const css_bloom *node_bloom; /* Node's bloom filter */ }; |