diff options
author | Michael Drake <Michael Drake tlsa@netsurf-browser.org> | 2019-05-12 16:39:08 +0100 |
---|---|---|
committer | Michael Drake <Michael Drake tlsa@netsurf-browser.org> | 2019-05-12 16:39:08 +0100 |
commit | 298dd8dd93abfc33c3ab3209f00d78e93fbd041c (patch) | |
tree | 3a67330e9df98bd97c15ada050285233a8822967 /src/select/select.c | |
parent | 1cb99d48771dd9fb81a94f1813a9f6f980eb242c (diff) | |
download | libcss-298dd8dd93abfc33c3ab3209f00d78e93fbd041c.tar.gz libcss-298dd8dd93abfc33c3ab3209f00d78e93fbd041c.tar.bz2 |
Computed styles: Remove last traces of extension blocks.
Diffstat (limited to 'src/select/select.c')
-rw-r--r-- | src/select/select.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/select/select.c b/src/select/select.c index 6a95b97..f6efbfe 100644 --- a/src/select/select.c +++ b/src/select/select.c @@ -1811,29 +1811,6 @@ css_error set_initial(css_select_state *state, */ if (prop_dispatch[prop].inherited == false || (pseudo == CSS_PSEUDO_ELEMENT_NONE && parent == NULL)) { - enum prop_group group = prop_dispatch[prop].group; - - /* Remaining properties are neither inherited nor - * already set. Thus, we set them to their initial - * values here. Except, however, if the property in - * question resides in one of the extension blocks and - * the extension block has yet to be allocated. In that - * case, we do nothing and leave it to the property - * accessors to return the initial values for the - * property. - */ - switch (group) { - case GROUP_NORMAL: - break; - case GROUP_UNCOMMON: - break; - case GROUP_PAGE: - break; - case GROUP_AURAL: - if (state->computed->i.aural == NULL) - return CSS_OK; - break; - } error = prop_dispatch[prop].initial(state); if (error != CSS_OK) return error; |