From 74c449c04c799cd8b8830ee35b0891a7618bbe1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Tue, 1 Sep 2020 22:58:10 +0000 Subject: [PATCH] style: Rename ::file-chooser-button to ::file-selector-button, and enable it in all channels. See https://github.com/w3c/csswg-drafts/issues/5049 Differential Revision: https://phabricator.services.mozilla.com/D88995 --- components/style/gecko/pseudo_element.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/style/gecko/pseudo_element.rs b/components/style/gecko/pseudo_element.rs index 16e3ab312f4..ed312dc2d8f 100644 --- a/components/style/gecko/pseudo_element.rs +++ b/components/style/gecko/pseudo_element.rs @@ -38,7 +38,7 @@ impl ::selectors::parser::PseudoElement for PseudoElement { PseudoElement::After | PseudoElement::Marker | PseudoElement::Placeholder | - PseudoElement::FileChooserButton + PseudoElement::FileSelectorButton ) } @@ -164,8 +164,8 @@ impl PseudoElement { PseudoElement::MozFocusOuter => { static_prefs::pref!("layout.css.moz-focus-outer.enabled") }, - PseudoElement::FileChooserButton => { - static_prefs::pref!("layout.css.file-chooser-button.enabled") + PseudoElement::FileSelectorButton => { + static_prefs::pref!("layout.css.file-selector-button.enabled") }, _ => (self.flags() & structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS_AND_CHROME) == 0, }