mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 23:39:51 +03:00
html: css: Remove redundant origin filtering for author_level_css
This commit is contained in:
parent
571a9ca0c9
commit
dcdd0148b2
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user