From 45af831c82aa10a89c83ebd542403cb0be12ac2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Mon, 14 Dec 2020 13:43:50 +0000 Subject: [PATCH] style: Remove layout.css.xul-tree-pseudos.content.enabled. We unshipped these a while ago and left the pref just for testing purposes. But now all the reftests using it were conveniently migrated to chrome:// tests, so we no longer need it. Differential Revision: https://phabricator.services.mozilla.com/D56950 --- components/style/gecko/pseudo_element_definition.mako.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/components/style/gecko/pseudo_element_definition.mako.rs b/components/style/gecko/pseudo_element_definition.mako.rs index f4a6671bd39..0478a114de9 100644 --- a/components/style/gecko/pseudo_element_definition.mako.rs +++ b/components/style/gecko/pseudo_element_definition.mako.rs @@ -112,11 +112,7 @@ impl PseudoElement { % for pseudo in PSEUDOS: ${pseudo_element_variant(pseudo)} => % if pseudo.is_tree_pseudo_element(): - if static_prefs::pref!("layout.css.xul-tree-pseudos.content.enabled") { - 0 - } else { - structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS_AND_CHROME - }, + structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS_AND_CHROME, % elif pseudo.is_anon_box(): structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS, % else: