diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-09-05 18:54:49 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-09-05 18:54:49 +0000 |
commit | 933a1b92130bc19e7d22f2adebfeb540d3b926d4 (patch) | |
tree | 8eeb1a1e8b2459396da28cee113448f6777a851a /src/select/select.h | |
parent | 59694ee82ac1cad0498837abe33f29c985eb89c5 (diff) | |
download | libcss-933a1b92130bc19e7d22f2adebfeb540d3b926d4.tar.gz libcss-933a1b92130bc19e7d22f2adebfeb540d3b926d4.tar.bz2 |
Hoist string internment into selection context constructor.
Destroy interned strings from selection context destructor.
svn path=/trunk/libcss/; revision=12742
Diffstat (limited to 'src/select/select.h')
-rw-r--r-- | src/select/select.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/select/select.h b/src/select/select.h index 9c956de..3abfce3 100644 --- a/src/select/select.h +++ b/src/select/select.h @@ -42,35 +42,6 @@ typedef struct css_select_state { css_origin current_origin; /* Origin of current sheet */ uint32_t current_specificity; /* Specificity of current rule */ - /* Useful interned strings */ - lwc_string *universal; - lwc_string *first_child; - lwc_string *link; - lwc_string *visited; - lwc_string *hover; - lwc_string *active; - lwc_string *focus; - lwc_string *nth_child; - lwc_string *nth_last_child; - lwc_string *nth_of_type; - lwc_string *nth_last_of_type; - lwc_string *last_child; - lwc_string *first_of_type; - lwc_string *last_of_type; - lwc_string *only_child; - lwc_string *only_of_type; - lwc_string *root; - lwc_string *empty; - lwc_string *target; - lwc_string *lang; - lwc_string *enabled; - lwc_string *disabled; - lwc_string *checked; - lwc_string *first_line; - lwc_string *first_letter; - lwc_string *before; - lwc_string *after; - prop_state props[CSS_N_PROPERTIES][CSS_PSEUDO_ELEMENT_COUNT]; } css_select_state; |