mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
style: Place window control buttons on the right side on macOS when using an RTL system locale, regardless of the Firefox locale
Differential Revision: https://phabricator.services.mozilla.com/D116921
This commit is contained in:
parent
2a42be3cc8
commit
d830ec8562
1 changed files with 2 additions and 1 deletions
|
@ -680,7 +680,7 @@ macro_rules! bool_pref_feature {
|
||||||
/// to support new types in these entries and (2) ensuring that either
|
/// to support new types in these entries and (2) ensuring that either
|
||||||
/// nsPresContext::MediaFeatureValuesChanged is called when the value that
|
/// nsPresContext::MediaFeatureValuesChanged is called when the value that
|
||||||
/// would be returned by the evaluator function could change.
|
/// would be returned by the evaluator function could change.
|
||||||
pub static MEDIA_FEATURES: [MediaFeatureDescription; 60] = [
|
pub static MEDIA_FEATURES: [MediaFeatureDescription; 61] = [
|
||||||
feature!(
|
feature!(
|
||||||
atom!("width"),
|
atom!("width"),
|
||||||
AllowsRanges::Yes,
|
AllowsRanges::Yes,
|
||||||
|
@ -913,6 +913,7 @@ pub static MEDIA_FEATURES: [MediaFeatureDescription; 60] = [
|
||||||
lnf_int_feature!(atom!("-moz-windows-default-theme"), WindowsDefaultTheme),
|
lnf_int_feature!(atom!("-moz-windows-default-theme"), WindowsDefaultTheme),
|
||||||
lnf_int_feature!(atom!("-moz-mac-graphite-theme"), MacGraphiteTheme),
|
lnf_int_feature!(atom!("-moz-mac-graphite-theme"), MacGraphiteTheme),
|
||||||
lnf_int_feature!(atom!("-moz-mac-big-sur-theme"), MacBigSurTheme),
|
lnf_int_feature!(atom!("-moz-mac-big-sur-theme"), MacBigSurTheme),
|
||||||
|
lnf_int_feature!(atom!("-moz-mac-rtl"), MacRTL),
|
||||||
lnf_int_feature!(atom!("-moz-windows-accent-color-in-titlebar"), WindowsAccentColorInTitlebar),
|
lnf_int_feature!(atom!("-moz-windows-accent-color-in-titlebar"), WindowsAccentColorInTitlebar),
|
||||||
lnf_int_feature!(atom!("-moz-windows-compositor"), DWMCompositor),
|
lnf_int_feature!(atom!("-moz-windows-compositor"), DWMCompositor),
|
||||||
lnf_int_feature!(atom!("-moz-windows-classic"), WindowsClassic),
|
lnf_int_feature!(atom!("-moz-windows-classic"), WindowsClassic),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue