summaryrefslogtreecommitdiff
path: root/src/select/select.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2022-08-29 11:53:11 +0100
committerMichael Drake <mdrake.unique@gmail.com>2022-08-29 13:49:20 +0100
commit832b819d8bec7a517ee0ecccbf05beaccb1205fc (patch)
tree2996fccbbab88b9172f892ce55f1abc06ff2f8fe /src/select/select.h
parent6453a903d912b594fc45de9122289510cca221be (diff)
downloadlibcss-832b819d8bec7a517ee0ecccbf05beaccb1205fc.tar.gz
libcss-832b819d8bec7a517ee0ecccbf05beaccb1205fc.tar.bz2
Select: Move revert style tracking to separate allocation
It's pretty big and the selection state lives on the stack.
Diffstat (limited to 'src/select/select.h')
-rw-r--r--src/select/select.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/select/select.h b/src/select/select.h
index 69bf4d8..5170e58 100644
--- a/src/select/select.h
+++ b/src/select/select.h
@@ -73,7 +73,7 @@ typedef struct css_select_state {
css_select_results *results; /* Result set to populate */
/** UA and user styles for handling revert property value. */
- struct revert_data revert[CSS_ORIGIN_AUTHOR];
+ struct revert_data *revert; /* Length: CSS_ORIGIN_AUTHOR */
css_pseudo_element current_pseudo; /* Current pseudo element */
css_computed_style *computed; /* Computed style to populate */