mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Honour system titlebar button left/right placement.
Differential Revision: https://phabricator.services.mozilla.com/D16466
This commit is contained in:
parent
c40839a24f
commit
e27c15e2f9
1 changed files with 2 additions and 1 deletions
|
@ -526,7 +526,7 @@ lazy_static! {
|
||||||
/// 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 ref MEDIA_FEATURES: [MediaFeatureDescription; 51] = [
|
pub static ref MEDIA_FEATURES: [MediaFeatureDescription; 52] = [
|
||||||
feature!(
|
feature!(
|
||||||
atom!("width"),
|
atom!("width"),
|
||||||
AllowsRanges::Yes,
|
AllowsRanges::Yes,
|
||||||
|
@ -724,6 +724,7 @@ lazy_static! {
|
||||||
system_metric_feature!(atom!("-moz-gtk-csd-minimize-button")),
|
system_metric_feature!(atom!("-moz-gtk-csd-minimize-button")),
|
||||||
system_metric_feature!(atom!("-moz-gtk-csd-maximize-button")),
|
system_metric_feature!(atom!("-moz-gtk-csd-maximize-button")),
|
||||||
system_metric_feature!(atom!("-moz-gtk-csd-close-button")),
|
system_metric_feature!(atom!("-moz-gtk-csd-close-button")),
|
||||||
|
system_metric_feature!(atom!("-moz-gtk-csd-reversed-placement")),
|
||||||
system_metric_feature!(atom!("-moz-system-dark-theme")),
|
system_metric_feature!(atom!("-moz-system-dark-theme")),
|
||||||
// This is the only system-metric media feature that's accessible to
|
// This is the only system-metric media feature that's accessible to
|
||||||
// content as of today.
|
// content as of today.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue