mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
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
This commit is contained in:
parent
35716fd514
commit
74c449c04c
1 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue