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)