mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Convert StylePrefs to StaticPrefs.
This commit is contained in:
parent
a208d4246c
commit
8705fb3783
9 changed files with 46 additions and 46 deletions
|
@ -179,7 +179,7 @@ impl NonTSPseudoClass {
|
|||
// For pseudo-classes with pref, the availability in content
|
||||
// depends on the pref.
|
||||
NonTSPseudoClass::Fullscreen =>
|
||||
unsafe { mozilla::StylePrefs_sUnprefixedFullscreenApiEnabled },
|
||||
unsafe { mozilla::StaticPrefs_sVarCache_full_screen_api_unprefix_enabled },
|
||||
// Otherwise, a pseudo-class is enabled in content when it
|
||||
// doesn't have any enabled flag.
|
||||
_ => !self.has_any_flag(NonTSPseudoClassFlag::PSEUDO_CLASS_ENABLED_IN_UA_SHEETS_AND_CHROME),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue