diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2022-08-29 11:53:11 +0100 |
---|---|---|
committer | Michael Drake <mdrake.unique@gmail.com> | 2022-08-29 13:49:20 +0100 |
commit | 832b819d8bec7a517ee0ecccbf05beaccb1205fc (patch) | |
tree | 2996fccbbab88b9172f892ce55f1abc06ff2f8fe /src/select/select.h | |
parent | 6453a903d912b594fc45de9122289510cca221be (diff) | |
download | libcss-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.h | 2 |
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 */ |