From dcdd0148b2d61caa118172df97d44c3b1a4ffa47 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sun, 26 Nov 2023 10:37:45 +0000 Subject: html: css: Remove redundant origin filtering for author_level_css --- content/handlers/html/css.c | 5 ----- 1 file changed, 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); } -- cgit v1.2.3