html: css: Remove redundant origin filtering for author_level_css

This commit is contained in:
Michael Drake 2023-11-26 10:37:45 +00:00 committed by Michael Drake
parent 571a9ca0c9
commit dcdd0148b2

View File

@ -687,11 +687,6 @@ html_css_new_selection_context(html_content *c, css_select_ctx **ret_select_ctx)
origin = CSS_ORIGIN_USER;
}
if (origin == CSS_ORIGIN_AUTHOR &&
nsoption_bool(author_level_css) == false) {
continue;
}
if (hsheet->sheet != NULL) {
sheet = nscss_get_stylesheet(hsheet->sheet);
}