mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Make panel animations a LookAndFeel int
This will allow us to enable panel animations in some Linux configurations but not others. Also, it's cleaner. Differential Revision: https://phabricator.services.mozilla.com/D161693
This commit is contained in:
parent
a4d2beecd3
commit
e520c3796d
1 changed files with 2 additions and 1 deletions
|
@ -585,7 +585,7 @@ macro_rules! bool_pref_feature {
|
|||
/// to support new types in these entries and (2) ensuring that either
|
||||
/// nsPresContext::MediaFeatureValuesChanged is called when the value that
|
||||
/// would be returned by the evaluator function could change.
|
||||
pub static MEDIA_FEATURES: [QueryFeatureDescription; 62] = [
|
||||
pub static MEDIA_FEATURES: [QueryFeatureDescription; 63] = [
|
||||
feature!(
|
||||
atom!("width"),
|
||||
AllowsRanges::Yes,
|
||||
|
@ -876,6 +876,7 @@ pub static MEDIA_FEATURES: [QueryFeatureDescription; 62] = [
|
|||
GTKCSDReversedPlacement
|
||||
),
|
||||
lnf_int_feature!(atom!("-moz-system-dark-theme"), SystemUsesDarkTheme),
|
||||
lnf_int_feature!(atom!("-moz-panel-animations"), PanelAnimations),
|
||||
bool_pref_feature!(
|
||||
atom!("-moz-box-flexbox-emulation"),
|
||||
"layout.css.moz-box-flexbox-emulation.enabled"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue