summaryrefslogtreecommitdiff
path: root/src/select/select.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/select/select.h')
-rw-r--r--src/select/select.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/select/select.h b/src/select/select.h
index 8d940a0..e66743e 100644
--- a/src/select/select.h
+++ b/src/select/select.h
@@ -28,9 +28,11 @@ typedef struct prop_state {
*/
typedef struct css_select_state {
void *node; /* Node we're selecting for */
- uint32_t pseudo_element; /* Pseudo element to select for */
uint64_t media; /* Currently active media types */
- css_computed_style *result; /* Style to populate */
+ css_select_results *results; /* Result set to populate */
+
+ css_pseudo_element current_pseudo; /* Current pseudo element */
+ css_computed_style *computed; /* Computed style to populate */
css_select_handler *handler; /* Handler functions */
void *pw; /* Client data for handlers */
@@ -53,7 +55,7 @@ typedef struct css_select_state {
lwc_string *before;
lwc_string *after;
- prop_state props[CSS_N_PROPERTIES];
+ prop_state props[CSS_N_PROPERTIES][CSS_PSEUDO_ELEMENT_COUNT];
} css_select_state;
static inline void advance_bytecode(css_style *style, uint32_t n_bytes)