From 44e71dee2e7eecf69cdc550fd263d712a86ce1ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Fri, 26 May 2023 21:43:29 +0200 Subject: [PATCH] style: Remove cascade layers pref These have been enabled by default for quite a while. Differential Revision: https://phabricator.services.mozilla.com/D175513 --- components/style/stylesheets/rule_parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/stylesheets/rule_parser.rs b/components/style/stylesheets/rule_parser.rs index fa92351ae01..2998aba8fad 100644 --- a/components/style/stylesheets/rule_parser.rs +++ b/components/style/stylesheets/rule_parser.rs @@ -406,7 +406,7 @@ impl<'a, 'b, 'i> AtRuleParser<'i> for NestedRuleParser<'a, 'b> { "font-face" => { AtRulePrelude::FontFace }, - "layer" if static_prefs::pref!("layout.css.cascade-layers.enabled") => { + "layer" => { let names = input.try_parse(|input| { input.parse_comma_separated(|input| { LayerName::parse(self.context, input)