diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-29 09:57:04 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-29 09:57:04 +0000 |
commit | 551c4e5bc7147f8eee1bb48cdd26bc83a66aa78a (patch) | |
tree | aff3a1bb53332c80aa0b3e973c787baebaf3cc4a /src/parse/properties/border_outline.c | |
parent | fc6b96707730c54fb7ac4040680d79864169b5e0 (diff) | |
download | libcss-551c4e5bc7147f8eee1bb48cdd26bc83a66aa78a.tar.gz libcss-551c4e5bc7147f8eee1bb48cdd26bc83a66aa78a.tar.bz2 |
Change selector hash to segregate:
1) element selectors
2) universal selectors with class names
3) universal selectors with ids
4) universal selectors
Only bother looking for matching selectors in 2 & 3 if the node being selected for has class names or an id, respectively.
In theory, this should speed up style selection somewhat.
svn path=/trunk/libcss/; revision=8882
Diffstat (limited to 'src/parse/properties/border_outline.c')
0 files changed, 0 insertions, 0 deletions