summaryrefslogtreecommitdiff
path: root/content/handlers
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2023-11-26 10:37:45 +0000
committerMichael Drake <mdrake.unique@gmail.com>2023-11-26 10:50:38 +0000
commitdcdd0148b2d61caa118172df97d44c3b1a4ffa47 (patch)
tree2ec6c9aa143c1276a39939a7cbb20ad26df4f3f0 /content/handlers
parent571a9ca0c9fe6ab4b2340fc3627fafc53bb82eab (diff)
downloadnetsurf-dcdd0148b2d61caa118172df97d44c3b1a4ffa47.tar.gz
netsurf-dcdd0148b2d61caa118172df97d44c3b1a4ffa47.tar.bz2
html: css: Remove redundant origin filtering for author_level_css
Diffstat (limited to 'content/handlers')
-rw-r--r--content/handlers/html/css.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/content/handlers/html/css.c b/content/handlers/html/css.c
index 7ee94c1c5..0bc38844f 100644
--- a/content/handlers/html/css.c
+++ b/content/handlers/html/css.c
@@ -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);
}