From 7771cf25a867338b0e3adc1ef64ba8d2e69e4339 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Wed, 7 Jun 2023 14:38:45 +0000 Subject: [PATCH] style: Remove :nth-child(... of) pref We ship this, and the front-end uses it by default, so remove the pref. Differential Revision: https://phabricator.services.mozilla.com/D180222 --- components/style/gecko/selector_parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/gecko/selector_parser.rs b/components/style/gecko/selector_parser.rs index 9be8bf6623d..52549f9ecbe 100644 --- a/components/style/gecko/selector_parser.rs +++ b/components/style/gecko/selector_parser.rs @@ -327,7 +327,7 @@ impl<'a, 'i> ::selectors::Parser<'i> for SelectorParser<'a> { #[inline] fn parse_nth_child_of(&self) -> bool { - static_prefs::pref!("layout.css.nth-child-of.enabled") + true } #[inline]