style: Remove layout.css.file-selector-button.enabled pref.

On by default since bug 1662478 (Firefox 82)

Depends on D101289

Differential Revision: https://phabricator.services.mozilla.com/D101290
This commit is contained in:
Emilio Cobos Álvarez 2021-01-11 01:55:50 +00:00
parent ad8ac70ae8
commit 70edd2318c

View file

@ -160,12 +160,7 @@ impl PseudoElement {
/// Whether this pseudo-element is enabled for all content.
pub fn enabled_in_content(&self) -> bool {
match *self {
PseudoElement::FileSelectorButton => {
static_prefs::pref!("layout.css.file-selector-button.enabled")
},
_ => (self.flags() & structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS_AND_CHROME) == 0,
}
self.flags() & structs::CSS_PSEUDO_ELEMENT_ENABLED_IN_UA_SHEETS_AND_CHROME == 0
}
/// Whether this pseudo is enabled explicitly in UA sheets.